Examples of the CLASS parameter

Example 1
//OUTDS6 OUTPUT CLASS=D
//OUT1   DD     SYSOUT=(,),OUTPUT=*.OUTDS6

In this example, JES processes the sysout data set defined in DD statement OUT1 in output class D.

Example 2
//PRINTALL JOB    ACCT123,MAEBIRD,MSGCLASS=H
//STEP1    EXEC   PGM=PRINTER
//OUTDS7   OUTPUT CLASS=*
//OUTPTR   DD     SYSOUT=(,),OUTPUT=*.OUTDS7
In this example, JES processes the sysout data set defined in DD statement OUTPTR in output class H, as specified in the JOB statement MSGCLASS parameter. The same result could be obtained by the following:
//PRINTALL JOB    ACCT123,MAEBIRD,MSGCLASS=H
//STEP1    EXEC   PGM=PRINTER
//OUTPTR   DD     SYSOUT=H