>> That is good news, but I cannot seem to replicate your results.

Bob,

If you noticed my example job keenly, I had the remarks/comments after the 
Continuation character (-).    Btw TOOLIN statements are self-explanatory. You 
adding the remarks is kind of repeating the statements once again

Either way you can something like this

//STEP0100 EXEC PGM=ICETOOL
//TOOLMSG  DD SYSOUT=*
//DFSMSG   DD SYSOUT=*
//INPUTA   DD *
ABC
//INPUT1   DD *
DEF
IJK
//INPUTX   DD *
ABC
XYZ
DEF
//OUTA     DD SYSOUT=*
//OUTB     DD SYSOUT=*
//OUTC     DD SYSOUT=*
//TOOLIN   DD *
  COPY  FROM(INPUTA) -              # COPY INPUTA TO OUTA
          TO(OUTA)
  COPY  FROM(INPUT1) -              # COPY INPUT1 TO OUTB
          TO(OUTB) USING(ALAS)
  SORT  FROM(INPUTX) -              # COPY INPUTX TO OUTC
          TO(OUTC) USING(ALAK)
/*
//ALASCNTL DD *
  INREC OVERLAY(10:C'BOB')          # Add BOB to every record
/*
//ALAKCNTL DD *
  SORT FIELDS=(1,3,CH,D)            # sort field-1 Desc
/*


Thanks,
Kolusu
DFSORT Development
IBM Corporation



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to