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?