> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Daniel Cremieux
> 
> Dear all
> 
> How can we achive this in Cobol ?
> I don't see any function which can do it

77  HEX-FIELD      PIC S9(9) COMP.
77  DECIMAL-FIELD  PIC S9(9) COMP-3.
...
    MOVE HEX-FIELD TO DECIMAL-FIELD.

    -jc-

----------------------------------------------------------------------
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