Good Afternoon,
I have a working storage character string for example WS-TEST PIC X(02).
I read information from an ASCII file into this string.
The WS-TEXT variable then contains a hex value for example x"010E".
I then need to know what the decimal value is of this field, in this example 270.
Any advice?
Thanks,
Bob
(ws-hex-value pic x(02)).