Page 1 of 1

Output packed decimal field to its hex equivalent using SORT

Posted: Mon Jul 29, 2019 6:01 pm
by may132012
I have a variable length record with each field delimited by the '@' character.
The first field on the record is 16 bytes in length in packed format. I want to output the record with this field changed to its 32 character hex format. The rest of the record stays the same.