I am trying to convert a pic S9 (9)V99 comp-3 field which has been store with binary in it. It is display like this: 6/PS X'000000002000'.
This amount should show like this 20.00. I am trying to find the proper way to convert it to a pic -9 (9)V99 field.
Thanks
It is basically the same as Decode a Binary Coded Decimal
You create a comp-3 with 1 more decimal digit and do 'pic x' moves.