Continuation Error
Posted: Thu Aug 20, 2009 12:00 am
Many times JCL show continuation error.
Example:
When you write like this, it shows continuation error.
If you edit the above like below, it is fine.
This kind of situation occurs many times in different JCLs with different statements in different contexts. I can understand that probably some piece of code expands internally and causes continuation error. Is it so? How can we avoid this?
Example:
When you write like this, it shows continuation error.
//SORTOUT DD DSN=CPANTX.FILE.LS,
// DISP=(,CATLG,DELETE),UNIT=UNIT1,
// SPACE=(TRK,(2,1),RLSE)
// DISP=(,CATLG,DELETE),UNIT=UNIT1,
// SPACE=(TRK,(2,1),RLSE)
If you edit the above like below, it is fine.
//SORTOUT DD DSN=CPANTX.FILE.LS,
// DISP=(,CATLG,DELETE),
// UNIT=UNIT1,
// SPACE=(TRK,(2,1),RLSE)
// DISP=(,CATLG,DELETE),
// UNIT=UNIT1,
// SPACE=(TRK,(2,1),RLSE)
This kind of situation occurs many times in different JCLs with different statements in different contexts. I can understand that probably some piece of code expands internally and causes continuation error. Is it so? How can we avoid this?