Page 1 of 1

Convert HEX to Readable Format

PostPosted: Fri Apr 17, 2009 11:53 pm
by gregroos
I am using a free assembler REXX utility by the name of RXSMS. It returns the address of the UCB. We are using UCB's above the line. Looking at the UCB the actual UCB address is stored in 2 bytes. Example if the UCB address were 1234 it is being stored as x'1234' +4 for a length of 2 into the UCB. Is there a way in REXX to convert this hex value to a readable format (F1F2F3F4)? I think I still know how to do it in assembler but need to be able to do it in REXX.

Thanks,
Greg

Re: Convert HEX to Readable Format

PostPosted: Tue Apr 21, 2009 4:22 pm
by expat
I usually use the C2X function.