Author |
Message
|
s1kenneth |
Posted: Wed Oct 12, 2005 7:22 am Post subject: EBCDIC to ASCII Conversion |
|
|
Newbie
Joined: 12 Oct 2005 Posts: 1
|
Posted: Tue Oct 11, 2005 1:59 am Post subject: ASCII to EBCDIC conversion.
--------------------------------------------------------------------------------
Hi,
Can anyone advice me about converting a MQMD Message ID field from EBCDIC to ASCII? We tried setting CCSID to 1208 and 819 but neither worked.
Any help .
Thanks a lot.
KenM. |
|
Back to top |
|
 |
EddieA |
Posted: Wed Oct 12, 2005 7:45 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
How many times does this have to be said:
The MessageID and CorrelationID fields are not characters, they are bytes. Which is why MQ doesn't convert them, when it converts everything else.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
hopsala |
Posted: Wed Oct 12, 2005 7:50 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
The three (in)famous byte fields of MQMD - MsgId, CorrldId and GrpId - are not converted as the rest of the MQMD is, nor are they converted using GMO_CONVERT conversion for Format=strings; in other words, you'll have to do this manually.
Keeping in mind that these fields should only be used in request/reply scenarios - and are hence only copied but never referred to by any other appl but the same one who set it - this is not a problem if you have a sound MQ design. Thus the question arises, why do you need to convert MessageId?
Further reference: JMS - correlation ID (you could have found this yourself...) |
|
Back to top |
|
 |
wschutz |
Posted: Wed Oct 12, 2005 8:50 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
The three (in)famous byte fields of MQMD - MsgId, CorrldId and GrpId |
Hopsala...what about the nearly famous AccountingToken field?  _________________ -wayne |
|
Back to top |
|
 |
hopsala |
Posted: Wed Oct 12, 2005 9:30 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
In truth, I am unsure whether you are frowning at me or at the AccountingToken
Anyway, you'd admit that the AccountingToken is not as famous as the trio I mentioned, and has no bearing upon this specific post; I merely listed those that seemed relevant... |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 12, 2005 9:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
hopsala |
Posted: Wed Oct 12, 2005 10:00 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
Ah, nothing like a good public denounement to brighten up my day
To all in question, my sincere apologies, and a good night! |
|
Back to top |
|
 |
|