Originally posted by Francis Mariani:
Something like this:
TSO FREE F(FRD01)
TSO DELETE
(TEMPJCL2)
-RUN
-PART2
TSO ALLOC F(FRD01)
DA(TEMPJCL2) NEW
SPACE(20,20)
TRACKS UNIT(PROD)
BLKSIZE(80) DSORG(PS) LRECL(80) CFM(F)
RUN PART4 WRITE FRD01
//&USER2
JOB (ZMMICG,&ROOMCDE),
'IRS - LR'&COMMA WRITE FRD01 //
MSGCLASS=T WRITE FRD01
//DATALD1 EXEC FOCUS ,
REGION=4096K
WRITE FRD01 //MASTER
DD DSN=ZIPIC.SRS.MASTER,
DISP=SHR
WRITE FRD01 //FOCEXEC DD DSN=ZIPIC.SRS.FOCEXEC,DISP=SHR
-WRITE FRD01 //SYSIN
DD * WRITE FRD01 EX
TESTFEX WRITE FRD01 FIN
WRITE FRD01 /* WRITE FRD01 //
SYSPRINT
DD SYSOUT=* WRITE FRD01 //SYSOUT
DD SYSOUT=* WRITE FRD01 //
TSO SUBMIT (TEMPJCL2)
TSO FREE F(FRD01)
TSO DELETE (TEMPJCL2)
RUN