Please have a look at below code:
Code: Select all
INREC FIELDS=(1,5,81:SEQNUM,3,ZD)
SORT FIELDS=(1,5,CH,A)
SUM FIELDS=NONE
Code: Select all
SORT FIELDS=(1,5,CH,A)
INREC FIELDS=(1,5,81:SEQNUM,3,ZD)
SUM FIELDS=NONE