Dear all,

I am converting a rexx program to cobol and having this problem .
The data  is , for example x'0123'  and after conversion , it must have the
value 123 (decimal)
In rexx , the statement is : decvalue = x2d(c2x(value))

I don't know how to achieve it in Cobol.

CAn you please help ?

Thank you in advance

Daniel

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to