Significance of output classes

To print the job log and any output data sets on the same output listing, code one of the following:
  • The same output class in the DD SYSOUT parameter as in the JOB MSGCLASS parameter.
  • DD SYSOUT=* to default to the JOB MSGCLASS output class.
  • DD SYSOUT=(,) to default to one of the following:
    1. The CLASS parameter in an explicitly or implicitly referenced OUTPUT JCL statement. In this case, the OUTPUT JCL CLASS parameter should specify the same output class as the JOB MSGCLASS parameter.
    2. The JOB MSGCLASS output class, if no OUTPUT JCL statement is referenced or if the referenced OUTPUT JCL statement contains either CLASS= or CLASS=*.