Start of change

Specifying output disposition

You can specify the output disposition for a sysout class by coding the OUTDISP= parameter on the SYSOUT class initialization statement. This specifies the output disposition to be initially assigned to sysout created using the output class.

The OUTDISP= parameter on the SYSOUT class initialization statement has the format:
     OUTDISP=[(][normal disposition][,abnormal disposition][)]
The normal disposition subparameter specifies the disposition for the output if the job completes normally. The abnormal disposition subparameter specifies the disposition for the output if the job does not complete successfully.
Note: The disposition for spin output is determined at the time that the output is spun and processed by JES3 Output Service; it does not change if a job fails later.
The OUTDISP= parameters allow you to specify the following dispositions:
HOLD
Hold the output. JES3 does not process the output until you either change the disposition to WRITE or KEEP, or release the output. When the output is released, the disposition changes to WRITE.
KEEP
Process the output and then keep a copy of it on spool. After processing, the disposition of this output becomes LEAVE.
LEAVE
JES3 does not process the output until you change the disposition to either WRITE or KEEP, or release the output. When the output is released, the disposition changes to KEEP.
PURGE
Purge the output immediately.
WRITE
Process the output then purge it.

For more information about the SYSOUT class initialization statement, see z/OS JES3 Initialization and Tuning Reference.

End of change