Previous Topic: ScenarioNext Topic: Major Elements of Your Second JCL


Example of Your Second JCL

Use a text editor to prepare a data set that contains the JCL for the job, as shown below.

//TRJOB02  JOB  MSGCLASS=A,NOTIFY=D27SYSP4,CLASS=X
//UPDTSTEP EXEC PGM=ARUPDT
//SYSUDUMP DD  SYSOUT=*
//INPUT1   DD  DSN=ACCT.ACCOUNTS.TABLES,
//             DISP=OLD
//INPUT2   DD  DSN=ACCT.VENDOR.DATA,
//             DISP=OLD
//INPUT3   DD  DSN=ACCT.VENDOR.CORRECT.DATA,
//             DISP=OLD
//INPUT4   DD  DSN=ACCT.VENDOR.MASTER.DATA(+0),
//             DISP=OLD
//OUTPUT   DD  DSN=ACCT.VENDOR.MASTER.DATA(+1),
//             DISP=(,CATLG),UNIT=DISK,
//             SPACE=(TRK,(10,2),RLSE)
//REPTS    DD  SYSOUT=E