Previous Topic

Next Topic

Book Contents

Book Index

General Information for SYSOUT

When a job ends OK, the Control-M monitor, unless otherwise instructed, leaves the job sysout in HELD class in the output queue.

The SYSOUT parameter is used to request additional handling of these held sysouts when the job ends OK.

The Control-M monitor sends all sysout handling requests to JES, which processes the instructions. If, however, the copying of sysouts to a file is requested (option F), Control-M requests the sysouts from JES and then Control-M directly writes the sysout to the file.

Only one SYSOUT statement can be defined in a job scheduling definition. To specify additional sysout handling instructions in addition to the one SYSOUT statement, define appropriate DO SYSOUT statements:

DO SYSOUT statements are activated when their accompanying ON step and code event criteria are satisfied. To define DO SYSOUT statements that act like a SYSOUT statement, that is, those that operate only when the job ends OK, define their accompanying ON statement with PGMST set to ANYSTEP and CODES set to OK.

For more information, see ON Statements: Post–Processing Parameter, and DO SYSOUT: Post-Processing Parameter.

The interrelationship between multiple SYSOUT operations, as in SYSOUT and DO SYSOUT statements, is described in Multiple SYSOUT Operations.

Parent Topic

SYSOUT: Post–Processing Parameter