Code: |
From To 19.72 19.72 10 10.00 28.64 28.64 18.08 18.08 20.5 20.50 550 550.00 6.4 6.40 20.99 20.99 |
Code: |
//STEP0100 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //IN DD * ----+----1----+----2----+----3----+----4----+----5----+----6- 19.72 10 28.64 18.08 20.5 550 6.4 20.99 //D1 DD DSN=&D1,DISP=(,PASS),SPACE=(CYL,(1,1),RLSE) //D2 DD DSN=&D2,DISP=(,PASS),SPACE=(CYL,(1,1),RLSE) //D3 DD DSN=&D3,DISP=(,PASS),SPACE=(CYL,(1,1),RLSE) //CON DD DSN=&D1,DISP=OLD,VOL=REF=*.D1 // DD DSN=&D2,DISP=OLD,VOL=REF=*.D2 // DD DSN=&D3,DISP=OLD,VOL=REF=*.D3 //OUT DD SYSOUT=* //TOOLIN DD * COPY FROM(IN) USING(CTL1) SORT FROM(CON) USING(CTL2) //CTL1CNTL DD * INREC FIELDS=(1,80,SEQNUM,8,ZD) SORT FIELDS=COPY OUTFIL FNAMES=D1,INCLUDE=(1,12,SS,NE,C'.'), OUTREC=(1,12,FS,EDIT=(IIIIIIIIT),C'.00',13,76) OUTFIL FNAMES=D2,INCLUDE=(11,1,CH,EQ,C'.'), OUTREC=(1,10,FS,EDIT=(IIIIIIIIT),C'.',12,1,C'0',13,76) OUTFIL FNAMES=D3,SAVE //CTL2CNTL DD * SORT FIELDS=(81,8,ZD,A) OUTFIL FNAMES=OUT,OUTREC=(1,80) /* |
Code: |
----+----1----+----2----+----3----+----4----+----5----+----6- 19.72 10.00 28.64 18.08 20.50 550.00 6.40 20.99 |
output generated using printer-friendly topic mod. All times are GMT - 5 Hours