hex to readable data

IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

hex to readable data

Postby chandra_ravi » Sat Aug 26, 2017 2:37 am

I need to convert one of the dataset into readable.
I could handle most of the conversions except for one category.
The program moves data as Move X’01’ to variable of type X(1).
One of the record from dataset is shown below in HEX ON Mode. I want to convert the last character which
looks like . to 10


How can I read this in SORT? It’s not ZD, PD, BI.
TRAN=UNHEX won’t work as well in this case as data is fit into one character.
If data is really 0A , then I see examples where TRAN=UNHEX is helpful.

I referred to multiple blogs. One blog looks close but has no solution.
Please advise.

Posts: 1
Joined: Sat Aug 26, 2017 2:35 am
Has thanked: 0 time
Been thanked: 0 time

Re: hex to readable data


Re: hex to readable data

Postby edipoliveira » Fri Sep 01, 2017 7:14 pm

could you post your code, I always use the TRAN=UNHEX and it works.
Posts: 2
Joined: Fri Sep 01, 2017 6:50 pm
Has thanked: 0 time
Been thanked: 1 time



  • Related topics
    Last post