My i/p has 2 fields that are in binary value.
fld1 is pic - x(1) at position 5
fld2 is pic x(2) at position 8
1. I need to sort the file by fld2 asc and then fld1 asc
2. I need to count the number of records in the i/p for each combination of fld2/fld1 and display that info (fld2 - fld1 - count)
the display of fld2 and fld1 shld be in decimal format.
for ex- fld1 vlaue is 1010011 , display - 83
fld2 value is 10100111010011 , display - 10707