View previous topic :: View next topic |
Author |
Message |
ssd Beginner
Joined: 24 Mar 2006 Posts: 25 Topics: 10
|
Posted: Wed Nov 01, 2006 3:59 am Post subject: Conversion of Hexadecimal to Charater in COBOL |
|
|
Hi,
I have a situation where there is a 4 byte character string which is a string representation of the Hexadecimal format. say for example
'F1F2' . My requirement is to convert this string into a string representation EBCDIC format ('12') thru a series of REDEFINES CLAUSES and MOVE CLAUSES . Can anyone help out
SSD |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
ssd Beginner
Joined: 24 Mar 2006 Posts: 25 Topics: 10
|
Posted: Wed Nov 01, 2006 10:44 am Post subject: |
|
|
Kolusu,
I guess I was not clear in explaining my problem.
I went through the link you provided. It gives how to represent a given EBCDIC charcter(displayable and non-displayable) in its hex format.
on the other hand I have the hex format and I need the corresponding character. its the reverse of what was provided in the link. How can I do that ?
Thanks
SSD |
|
Back to top |
|
 |
|
|