View previous topic :: View next topic |
Author |
Message |
mfuser Banned
Joined: 01 Mar 2005 Posts: 105 Topics: 58
|
Posted: Wed Jul 19, 2006 1:31 am Post subject: converting byte string to character or hexadecimal string |
|
|
Members,
I have a variable defined by system as :
Code: |
** Message identifier
15 MQMD-MSGID PIC X(24) VALUE LOW-VALUES.
|
The MQ Queue Manager generates Message id automatically in this field and when i try to display this field i have some none displayable characters in the output and basically it is byte string rather than a character string.My intention is to display the field in Displayable format to read properly in a report.Is there any function in COBOL which can convert to what i am asking for , even displaying in hexadecimal will also do for me. |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Fri Jul 21, 2006 1:22 pm Post subject: |
|
|
Quote: | even displaying in hexadecimal will also do for me |
That it is doing already !
If you want to see the actual value, try doing HEX ON after exporting (CSQUTIL, maybe) to a dataset. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
|
|