Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
Here are the control statements for a SyncSort for z/OS 1.3.2 job that will do what you asked:
Code: |
//SYSIN DD *
SORT FIELDS=COPY
OUTREC IFTHEN=(WHEN=GROUP,BEGIN=(1,4,ZD,EQ,NUM),PUSH=(81:1,4))
OUTFIL INCLUDE=(1,4,ZD,NE,NUM),BUILD=(81,4,1X,1,80)
/* |
However, since you had asked for a SYNCTOOL 1.6.0 job, I assume that you are running an older release of SyncSort which does not support the WHEN=GROUP function. If this is true, then you will need an alternate solution. |
|