Previous Topic: SYSIN Control StatementsNext Topic: Batch Login Utility ($CCFB109)


Examples

The following JCL example executes $CCFB102:

//LOGOUT JOB,ACCT,PGMR,CLASS=X
//STEP EXEC PGM=$CCFB102,PARM=‘COND,SYSTEM=ROSCOE’
-MFID 1
-CRID WO000005
-LANG ASM
-DESC VENDOR PAYROLL SYSTEM
-APPL PAYROLL
-ABST VENDOR PAYROLL SYSTEM MEMBER
-COPY PAY01
-COM PROGRAM MEMBERS:
 -COPY PAY02
-COPY PAY03
-ABST VENDOR PAYROLL SYSTEM JCL MEMBER
-COPY PAYJCL
-COM  JCL MEMBERS:
 -COPY PAYJCL2

The SYSOUT characteristics for the report are:

DEST=LOCAL,COPIES=1,CLASS=A

(or as specified on the SYSOUT parameter in Option 12.0).

You can change the SYSOUT characteristics by including a DD statement for CCFPRINT in the JCL and defining the SYSOUT.

//LOGOUT JOB,ACCT,PGMR,CLASS=X
//STEP EXEC PGM=$CCFB102,PARM=COND
//CCFPRINT DD SYSOUT=W,COPIES=3
  -COPY modname
     .    .
     .    .