Posted: Tue Sep 23, 2003 4:33 am Post subject: Is this possible with JCL?
Hello,
Sorry for my bad english.
I have a sequential file (input file) with 3 different duplicate keys in position 1: x'001c', x'002c' and x'003c'. Each key occurs more than 50 times.
I want the output file to have the first 50 occurences of each key.
In the end the output file must have 150 records, the first 50 with the key x'001c', from position 51 to 100 with the key x'002c' and the last 50 with the key x'003c'.
Joined: 26 Nov 2002 Posts: 12395 Topics: 75 Location: San Jose
Posted: Tue Sep 23, 2003 5:57 am Post subject:
nsantos,
nsantos,
Try this DFSORT/ICETOOL. If you have syncsort at your shop then change the program name to synctool.make sure that you delete the output file before every run as it is having DISP=MOD.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum