z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Examples of the MSGCLASS parameter

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//EXMP1 JOB  ,GEORGE,MSGCLASS=F

In this example, the JOB statement specifies output class F for the job log.

Example 2
//EXMP2 JOB  ,MENTLE,MSGLEVEL=(2,0)

This JOB statement does not specify an output class. In this case, the output class defaults to the installation default output class for the device from which the job was submitted.

Example 3
//A1403  JOB  ,BLACK,MSGCLASS=L
//STEP1  EXEC PGM=PRINT
//OUTDD1 DD   SYSOUT=L

In this example, the JOB statement and sysout DD statement OUTDD1 both specify the same output class. Consequently, the job log and data set OUTDD1 are written on the same output listing.

Example 4
//B209   JOB   ,WHITE,MSGCLASS=M
//STEPA  EXEC  PGM=PRINT
//OUTDDX DD    SYSOUT=*

In this example, the JOB statement specifies that the system route the job log to output class M. The system also routes sysout data set OUTDDX to class M because SYSOUT=* is specified.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014