Author |
Message
|
babloo4031 |
Posted: Thu Aug 03, 2006 1:28 am Post subject: XML Messages in MQ |
|
|
Novice
Joined: 08 Jul 2006 Posts: 18
|
I have 2 different Q Managers on 2 Sun Solaris boxes.When i send a Message which is basically a XML, the :(colon) character is getting converted to _(underscore)at the destination .
Is there any way this can be handled. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 03, 2006 1:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Either don't specify MQGMO_CONVERT on the message get (or stop the sender channel doing the convert if it's set to) or adjust the queue managers' CCSID to match. I'm guessing that the two boxes use broadly similar code pages? Another option would be to change the format of the message to MQFMT_NONE.
What CCSID's are in use on the two queue managers and is there an existing design rational for the choice? Normally a queue manager defaults to the code page of the hosting machine IIRC. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
babloo4031 |
Posted: Thu Aug 03, 2006 6:18 am Post subject: |
|
|
Novice
Joined: 08 Jul 2006 Posts: 18
|
Vitor,
Thanks for the info.Could you please let me know how do i check the CCSID on queue manager and also where to set the format of the message to MQFMT_NONE.
Regards,
babloo4031 |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 03, 2006 6:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Take this problem to your MQ Administrator.
Ask them to help you.
Don't set the format to MQFMT_NONE. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 03, 2006 6:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I would have thought DISPLAY QMGR CCSID would be an obvious place to start...
The format of the message is controlled (again somewhat obviously) by the Format field of the message descriptor.
This might assist with additional information:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
babloo4031 |
Posted: Sun Aug 06, 2006 8:51 pm Post subject: |
|
|
Novice
Joined: 08 Jul 2006 Posts: 18
|
The CCSID for one of machine is 819 and the other CCSID is 1208. Does this makes any difference. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 07, 2006 2:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
babloo4031 wrote: |
The CCSID for one of machine is 819 and the other CCSID is 1208. Does this makes any difference. |
819 is standard for Unix machine. 1208 is UTF-8 character set.
The question I have is are you setting the client's CCSID when pulling off messages and do you do a get with convert?
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
babloo4031 |
Posted: Mon Aug 07, 2006 4:01 am Post subject: |
|
|
Novice
Joined: 08 Jul 2006 Posts: 18
|
No, i do did not set the client's CCSID when getting the message and i do not do a convert with get.
Also is there any way that i can change the CCSID of the other server to 819. |
|
Back to top |
|
 |
|