>> In SORTs 2-5 I change SYSA to SYSC, SYSA to SYSD, SYSA to SYSE and SYSA to
>> SYSF respectively.
David,
It is quite simple to combine multiple steps into a single step. You don't
even need FINDREP on both INREC and OUTREC. Just one FINDREP is enough. Here
is a sample job that will combine multiple steps into a single Step and get the
desired results.
//STEP0100 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
ABC SYSA
DEF SYSA
SOME OTHER TEXT
//SYSB DD SYSOUT=*
//SYSC DD SYSOUT=*
//SYSD DD SYSOUT=*
//SYSE DD SYSOUT=*
//SYSF DD SYSOUT=*
//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=SYSB,FINDREP=(IN=C'SYSA',OUT=C'SYSB')
OUTFIL FNAMES=SYSC,FINDREP=(IN=C'SYSA',OUT=C'SYSC')
OUTFIL FNAMES=SYSD,FINDREP=(IN=C'SYSA',OUT=C'SYSD')
OUTFIL FNAMES=SYSE,FINDREP=(IN=C'SYSA',OUT=C'SYSE')
OUTFIL FNAMES=SYSF,FINDREP=(IN=C'SYSA',OUT=C'SYSF')
/*
Thanks,
Kolusu
DFSORT Development
IBM Corporation
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN