Previous Topic: Optional Statements

Next Topic: Processing Requirements

Examples

OUTREC=ALL
INPUT JARS=CAIKSJR
INPUT VGENJOB=CAIKSVC

These control statements process input data stored in data sets with internal ddnames JARS and VGENJOB. ERRORS defaults to zero which means the run will terminate the first time it encounters an error. Most users set ERRORS > 0.

OUTREC=ALL
INPUT JARS=CAIKSJR
ERRORS=20

This run processes data stored in the data set with JCL ddname of CAIKSJR. The first twenty errors are printed out. Any more errors will make CAKSLOAD terminate. To correct definitions, you must work from this printout.

OUTREC=ALL
INPUT JARS=CAIKSJR
ERRORS=20
RECYCLE INPUT
RECYCLE OUTPUT

The first twenty errors are printed out and written to the file whose ddname is CAIKSRO. Now you can correct these errors online. More than twenty errors causes the run to abend. This run also processes corrected records that were errors in some previous run. The file with the corrected records uses the default ddname of CAIKSRI.