The JCL output for a batch job or any piece of work handled by
JES2 or JES3 is a collection of three data sets. These three data
sets (in the order they appear in the output) are:
- JES JOB LOG (JESMSGLG)
- STATEMENT IMAGES (JESJCL)
- SYSTEM MESSAGES (JESYSMSG)
- statements
- Indicates which job control statements the system is to print
in the statement images portion of the JCL output. This subparameter
is one of the following numbers:
- 0
- The system prints the JOB statement and all comments and JECL
statements up to the first EXEC statement.
- 1
- The system prints all JCL statements, JES2 or JES3 control statements,
the procedure statements, and IEF653I messages, which give the values
assigned to symbolic parameters in the procedure statements.
- 2
- The system prints only JCL statements and JES2 or JES3 control
statements.
- messages
- Indicates which messages the system is to print in the system
messages portion of the JCL output. This subparameter is one of the
following numbers:
- 0
- The system prints only JCL messages. It prints JES and operator
messages only if the job abnormally terminates, and prints SMS messages
only if SMS fails the job.
- 1
- The system prints JCL, JES, operator, and SMS messages.