Posted: Tue Jul 11, 2006 1:07 pm Post subject: MQ Encoding/CCSID - 1051/8859 - Conversion - Help
Newbie
Joined: 08 Mar 2005 Posts: 6
All:
I have a situation where a Soloris machine (8859_1) is sending (this a client running on Soloris OS) the message to MQ Queue. The message destination is a HP-UX Box with default encoding of 1051. With the current setting the receiver end is seeing '??' marks in the payload.
I am using MQJava.
My Question(s):
1>: What MQ Headers needs to be populated by the client before dropping into MQ Queue.
2>: Do I need to do any conversion like encoding JAVA encoding before doing a MQ PUT. But I figured out that JAVA doesn't support 1051 encoding?.
3>: How the CCSID concept work?. Does MQ Queue manager is in control of doing the conversion. For example - it the MQ Queue Manager CCSID is set to 819 does it mean that - that the final encoding and what ever data I put into Queue going to get converted to 819?.
Thanks a lot in advance. I appreciate all your help in this regard.
Well it really depends on the data you are sending.
If you are sending text data only set the message format to 'MQSTR ' in the MQMD.
(check it out there should be a constant for the value...) or if in JMS send a TextMessage.
Make sure if the HPUX has no JMS receiver to suppress the RFH2 header if in JMS.
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