Convert HEX to Readable Format



IBM's Command List programming language & Restructured Extended Executor

Convert HEX to Readable Format

Postby gregroos » Fri Apr 17, 2009 11:53 pm

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
gregroos
 
Posts: 1
Joined: Fri Apr 17, 2009 11:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Convert HEX to Readable Format

Postby expat » Tue Apr 21, 2009 4:22 pm

I usually use the C2X function.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post