Example 1 //J1 JOB ,'MARY LUDWIG'
//JOUT OUTPUT CLASS=C,FORMS=RECP,INDEX=6
//STEP1 EXEC PGM=XYZ
//SOUT OUTPUT CLASS=H,BURST=YES,CHARS=GT12,FLASH=BLHD
//ALL DD SYSOUT=(,),OUTPUT=(*.JOUT,*.SOUT),COPIES=5
//IN DD *
.
(data)
.
/*
The OUTPUT parameter references two OUTPUT JCL statements. Therefore,
the system prints the single sysout data set twice:
- For DD ALL combined with OUTPUT JOUT, the sysout data set is printed
in class C. In the installation, output class C is printed on a 3211
Printer. Combining the parameters from the DD and OUTPUT JCL statements,
the system prints 5 copies of the data set on form RECP and indents
the left margin 5 spaces.
- For DD ALL combined with OUTPUT SOUT, the sysout data set is printed
in class H. In the installation, output class H is printed on a 3800
Printing Subsystem. Combining the parameters from the DD and OUTPUT
JCL statements, the system prints 5 copies of the data set with the
forms-overlay frame named BLHD using character-arrangement table GT12
and bursts the output.
Example 2 //J6 JOB ,'SUE THACKER'
//OUTA OUTPUT DEST=HQ
//STEP1 EXEC PGM=RDR
//OUTB OUTPUT CONTROL=DOUBLE
//DS1 DD SYSOUT=A,OUTPUT=(*.OUTA,*.OUTB)
//STEP2 EXEC PGM=WRT
//OUTC OUTPUT DEST=ID2742
//DS2 DD SYSOUT=A,OUTPUT=(*.OUTC,*.STEP1.OUTB)
The OUTPUT parameter on DS1 references:
- The job-level OUTPUT JCL statement OUTA to send the sysout data
set to HQ.
- The step-level OUTPUT JCL statement OUTB to print the sysout data
set double-spaced on the local 3800 Printing Subsystem used for output
class A.
The OUTPUT parameter on DS2 references:
- OUTPUT JCL statement OUTB in the first step to print the sysout
data set double-spaced on the local 3800 Printing Subsystem used for
output class A.
- OUTPUT JCL statement OUTC in the same step to send the sysout
data set to userid ID2742, which is attached to the local system.
Note: The references to OUTPUT JCL statements are in no
particular order.