DD SYSOUT Parameter


The SYSOUT parameter is used to define the destination of the system output generated by the program or job step. It specifies the device class, the device number or name, and the output class.

Syntax -

SYSOUT={msg-class|*|output-class|output-device|(,)}
output-class Specifies the output class that is defined during JES initialization.
* Specifies to use the output class in the MSGCLASS parameter on the JOB statement.
(,) Specifies a null class. Coding SYSOUT=(,) nullifies the SYSOUT class.
output-device Specifies output device name.

Default and overrides -

The SYSOUT parameter values are processed in the following override order -

  • SYSOUT DD statement.
  • Referenced JCL options.
  • JES2 or JES3 options.
  • The installation default options for the requested output class.

Examples -


Scenario - Writing output on default printer (SPOOL).

//DD01    DD SYSOUT=*