Input file has multiple records with the same key (they can change). No more than 25 records per key.
Output file will have single record per key with occurences (25)
I also need to populate counter on record on output record in position 15
Output file will be like this:
Counter is highlighted in yellow.
AAAAA00001 002 R01X001 R01X002
AAAAA00222 003 R02X001 R02X002 R02X003
AAAAA33333 005 R03X001 R03X002 R03X003 R03X004 R03X004
If it's possible maybe somebody has similar code to show me.
Thank you very much in advance.....
BTW - SYNCSORT FOR Z/OS 220.127.116.11R