This example is similar to Example 1, except that in this example the reformatted JCL will be saved to the MEM2 member in the WORK.LIB library.
Batch utility for reformatting sample JCL and saving the resulting JCL
//JCLENR EXEC CTJENR,REF=Y,SAV=Y
//SYSIN DD *
LIB=WORK.LIB MEM=MEM1 SAVLIB=WORK.LIB SAVMEM=MEM2
Reformatted JCL saved in the MEM2 member in the WORK.LIB library
//IEFBR14 JOB ,BR14,MSGCLASS=X,MSGLEVEL=(1,1),NOTIFY=USER
//S1 EXEC PGM=IEFBR14,COND=EVEN
//NEWTEMP DD DSN=NEW.FILE.NO.DISP,
// SPACE=(TRK,1)
//FILEOK DD DSN=CTJP.V900.JCL.SAMPLES,
// DISP=SHR
Parent Topic |