Ron, I don't need a single record per P.O, what i need is pull 100 P.O in the output file . A P.O will contain multiple records for e.g if each PO has 5 rows then the ouput will be 500. I put something like the below but this is not working
SORT FIELDS=COPY INREC IFTHEN=(WHEN=INIT,OVERLAY=(6003:SEQNUM,3,ZD,RESTART=(01,12))) OUTFIL FNAMES=OUT01,INCLUDE=(6003,3,ZD,LT,101),BUILD=(1,6000) OUTFIL FNAMES=LEFTOVER,INCLUDE=(6003,3,ZD,GT,101),BUILD=(1,6000) Thanks Ron T ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
