Download MVS JCL User's Guide

Transcript
Sysout Resources - Destination Control
/*DEL
This control statement cancels the job in the data set and schedules it for
immediate output processing. The output consists of any JCL submitted,
followed by a message indicating that the job was deleted before execution.
/*PURGE
For JES2 only, this control statement cancels the job in the data set and
schedules it for purge processing; no output is produced for the job.
/*SCAN
For JES2 only, this control statement requests that JES2 only scan the job in
the data set for JCL errors. The job is not to be executed.
References
For more information on the internal reader, see OS/390 MVS Programming:
Assembler Services Guide.
Example
//JOBA
//GENER
//SYSIN
//SYSPRINT
//SYSUT2
//SYSUT1
//JOBB
//REPORTA
//OUTDD1
//INPUT
//JOBC
//REPORTB
//OUTDD2
//INPUT
/\EOF
JOB
EXEC
DD
DD
DD
DD
JOB
EXEC
DD
DD
JOB
EXEC
DD
DD
D58JTH,HIGGIE
PGM=IEBGENER
DUMMY
SYSOUT=A,DEST=NODE1
SYSOUT=(M,INTRDR)
DATA
D58JTH,HIGGIE,MSGLEVEL=(1,1)
PGM=SUMMARY
SYSOUT=\
DSN=REPRTSUM,DISP=OLD
D58JTH,HIGGIE,MSGLEVEL=(1,1)
PGM=SUMMARY
SYSOUT=A,DEST=NODE2
DSN=REPRTDAT,DISP=OLD
Ÿ JOBA executes program IEBGENER.
Ÿ Program IEBGENER reads JOBB and JOBC from in-stream data set SYSUT1
and writes them to sysout data set SYSUT2, which is submitted to the internal
reader.
Ÿ The message class for JOBB and JOBC is M, the SYSOUT class specified on
DD statement SYSUT2.
Ÿ The message class for sysout data set OUTDD1 is M because SYSOUT=* is
coded.
Ÿ The /*EOF statement specifies that the preceding jobs are to be sent
immediately to JES for input processing.
Destination Control to Terminal
To indicate that a sysout data set is going to a terminal for a TSO/E user, code:
//ddname
DD
TERM=TS
Chapter 24.
Sysout Resources - Destination Control
24-7