Hi,
I have a Job with 5 SORT STEPs. I would like to combine them into one STEP.
Here is one of the STEPs:

//STEP001 EXEC PGM=SORT
//SYSOUT   DD  SYSOUT=*
//SORTMSG  DD  SYSOUT=*
//SORTIN   DD  DISP=SHR,DSN=SYSA.XML
//SYSB     DD  DISP=SHR,DSN=SYSB.XML
//SYSIN    DD  *
   OPTION COPY
   INREC  FINDREP=(IN=C'SYSA',OUT=C'SYSB')
   OUTREC FINDREP=(IN=C'SYSA',OUT=C'SYSB'|
  OUTFIL FNAMES=SYSB

In SORTs 2-5 I change SYSA to SYSC, SYSA to SYSD, SYSA to SYSE and SYSA to SYSF respectively.

How can I combine these into one STEP (instead of 5 STEPs)?

Thanks and regards,
David



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to