ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » EBCDIC to ASCII Conversion

Post new topic  Reply to topic
 EBCDIC to ASCII Conversion « View previous topic :: View next topic » 
Author Message
s1kenneth
PostPosted: Wed Oct 12, 2005 7:22 am    Post subject: EBCDIC to ASCII Conversion Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Wed Oct 12, 2005 7:45 am    Post subject: Reply with quote

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
View user's profile Send private message
hopsala
PostPosted: Wed Oct 12, 2005 7:50 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Wed Oct 12, 2005 8:50 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
hopsala
PostPosted: Wed Oct 12, 2005 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 12, 2005 9:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Except you said "as the rest of the MQMD is", implying that the AccountingToken was converted...

Which it's not. But you knew that!

The reference for the rest of us, of course, is here
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzak.doc/mqmdo.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
hopsala
PostPosted: Wed Oct 12, 2005 10:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » EBCDIC to ASCII Conversion
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.