This is my data:
Code: Select all
0HDR123456
1DTLA123456A
1DTLA234567A
1DTLA345678A
1DTLA234567B
1DTLB123456A
1DTLB234567A
1DTLB345678A
1DTLB234567B
1DTLC123456A
1DTLC234567A
1DTLC345678A
1DTLC234567B
9TLR00012
Code: Select all
9TLR000030000400003000040000300004
Can anyone please let me know if it is possible with a example or how to do it with SORT ?
I have come across this kind of code
Code: Select all
//SYSIN DD *
SORT FIELDS=COPY
OUTFIL IFTRAIL=(HD=YES,TRLID=(1,6,CH,EQ,C'AB 002'),
TRLUPD=(19:COUNT=(M11,LENGTH=10)))
//*