Code: |
05 W-Z5BS-TRL-SEG-ID PIC XXX VALUE '999' 05 W-Z5BS-TRL-REC-COUNT PIC 9(7). 05 FILLER PIC X(70) VALUE SPAC |
Code: |
51070516070515 (Header) 5128274967HOL20070603 (Detail 1) 5144358641HOL20070511 (Detail 2) 9990000002 (Trailer) |
Code: |
5106027397HOA20070613 (Detail 3) 5106027398HOA20070613 (Detail 4) |
Code: |
51070516070515 (Header) 5128274967HOL20070603 (Detail 1) 5144358641HOL20070511 (Detail 2) 5106027397HOA20070613 (Detail 3) 5106027398HOA20070613 (Detail 4) 9990000004 (Trailer) |
Code: |
//STEP0100 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD DSN=Your input file 1, // DISP=SHR // DD DSN=Your input file 2, // DISP=SHR //SORTOUT DD SYSOUT=* //SYSIN DD * OMIT COND=(1,3,CH,EQ,C'999') SORT FIELDS=COPY OUTFIL REMOVECC, TRAILER1=('999',COUNT-1=(M11,LENGTH=7),80:X) /* |
Quote: |
I need to run a SORT utility |
Nic Clouston wrote: | ||
So why is this posted in the JCL section and not in the Utilities section? I was looking forward to a nice juicy JCL problem to try resolve |
Quote: |
So why is this posted in the JCL section and not in the Utilities section? I was looking forward to a nice juicy JCL problem to try resolve |
output generated using printer-friendly topic mod. All times are GMT - 5 Hours