//ddname DD SYSOUT=class
//jobname JOB acct,progname,MSGCLASS=class
//stepname EXEC PGM=x
//ddname DD SYSOUT=*
//name OUTPUT CLASS=class
//ddname DD SYSOUT=(,),OUTPUT=*.name
For example, the installation could define output class W to contain low-priority output; class Y to contain output to be printed on a special form, so that the JCL would not need to request the form; and class J to be reserved for high-volume output.
To print the sysout data set and messages from the job on the same output listing, see Printing job log and sysout data sets together.
//X1 DD SYSOUT=A
//JOBA JOB ,'I. BUTLER',MSGCLASS=B
//ST1 EXEC PGM=ANY
//X2 DD SYSOUT=*
//OUTA OUTPUT CLASS=C
//X3 DD SYSOUT=(,),OUTPUT=*.OUTA