Author |
Message
|
starki78 |
Posted: Wed Nov 04, 2009 8:35 am Post subject: CCSID is not recognized in Cluster.Transmission.Queue |
|
|
Acolyte
Joined: 24 Sep 2007 Posts: 53
|
Hello,
I'm sending a Message with CCSID 500 to a ClusterQueue.
I noticed that then the remote QM is stopped the message remains in the
Cluster.Transmission.Queue. But it has the CCSID of the QManager.
After I start remote QManager the message arrives properly in the Cluster Queue of remote QM and has the correct CCSID!
Can anybody explain this behaviour it caused some confusion on our side.
Thank you!
Christian |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 04, 2009 9:47 am Post subject: Re: CCSID is not recognized in Cluster.Transmission.Queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
starki78 wrote: |
Can anybody explain this behaviour it caused some confusion on our side. |
You're confused that a message addressed to a stopped queue manager remains on a transmission queue?
As to why the CCSID being different, which MQMD in the xmitq are you examining? And why are you looking at this if the message arrives correctly converted? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
starki78 |
Posted: Wed Nov 04, 2009 11:34 pm Post subject: |
|
|
Acolyte
Joined: 24 Sep 2007 Posts: 53
|
Hello
thanks for your reply.
I'm not confused that it remains in the transmission queue:-)
I wonder why the CCSID in the Transmission Queue is the one of the Queue Manager and how MQSeries knows to use the correct one then forwarding it to remote Cluster Queue.
Just curious about the concept.
Thanks
Christian |
|
Back to top |
|
 |
rekarm01 |
Posted: Thu Nov 05, 2009 1:35 am Post subject: Re: CCSID is not recognized in Cluster.Transmission.Queue |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
starki78 wrote: |
I wonder why the CCSID in the Transmission Queue is the one of the Queue Manager and how MQSeries knows to use the correct one then forwarding it to remote Cluster Queue.
Just curious about the concept. |
WMQ adds an extra MQMD header (with qmgr ccsid) to the original message, when putting a message on a transmit queue. The remote qmgr strips off the extra MQMD header, and restores the original MQMD header to put the transmitted message on its local queue.
The actual process is a bit more complicated than that, but that's the basic idea. |
|
Back to top |
|
 |
AkankshA |
Posted: Thu Nov 05, 2009 1:46 am Post subject: Re: CCSID is not recognized in Cluster.Transmission.Queue |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
rekarm01 wrote: |
WMQ adds an extra MQMD header (with qmgr ccsid) to the original message, when putting a message on a transmit queue. The remote qmgr strips off the extra MQMD header, and restores the original MQMD header to put the transmitted message on its local queue.
The actual process is a bit more complicated than that, but that's the basic idea. |
I presume by saying extra MQMD you mean MQXQH - transmission queue header.... _________________ Cheers |
|
Back to top |
|
 |
starki78 |
Posted: Thu Nov 05, 2009 2:45 am Post subject: |
|
|
Acolyte
Joined: 24 Sep 2007 Posts: 53
|
thanks a lot! I understand better |
|
Back to top |
|
 |
rekarm01 |
Posted: Thu Nov 05, 2009 2:59 am Post subject: Re: CCSID is not recognized in Cluster.Transmission.Queue |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
AkankshA wrote: |
I presume by saying extra MQMD you mean MQXQH - transmission queue header.... |
Actually, it's both an extra MQMD and MQXQH, and possibly even an MQMDE, (where the original MQMD is part of the MQXQH and MQMDE headers).
But for the purpose of this topic, I had hoped it would suffice to say "The actual process is a bit more complicated than that ..." |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 05, 2009 4:32 am Post subject: Re: CCSID is not recognized in Cluster.Transmission.Queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
AkankshA wrote: |
I presume by saying extra MQMD you mean MQXQH - transmission queue header.... |
No, there really is another MQMD, hence my (in hindsight overly cryptic) comment " which MQMD are you looking at"  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
AkankshA |
Posted: Thu Nov 05, 2009 7:37 pm Post subject: Re: CCSID is not recognized in Cluster.Transmission.Queue |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
Vitor wrote: |
AkankshA wrote: |
I presume by saying extra MQMD you mean MQXQH - transmission queue header.... |
No, there really is another MQMD, hence my (in hindsight overly cryptic) comment " which MQMD are you looking at"  |
I am Lost  _________________ Cheers |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Nov 08, 2009 3:36 pm Post subject: Re: CCSID is not recognized in Cluster.Transmission.Queue |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
AkankshA wrote: |
Vitor wrote: |
AkankshA wrote: |
I presume by saying extra MQMD you mean MQXQH - transmission queue header.... |
No, there really is another MQMD, hence my (in hindsight overly cryptic) comment " which MQMD are you looking at"  |
I am Lost |
A message on a transmission queue has a MQMD and Message Data, like any other MQ message. The Message Data contains a MQXQH structure (which embeds a MQMD1 & possibly followed by a MQMDE structure), followed by the original putter's Message Data.
At the receiving end, the Message Data is unpacked by the MCA and the embedded MQMD1/MQMDE is used to construct the Message Descriptor that is put to the destination queue, along with the original putter's Message Data.
I don't think it can be explained any simpler than that. _________________ Glenn |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Nov 08, 2009 8:20 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
absolutely perfect...
as always i do learn here...  _________________ Cheers |
|
Back to top |
|
 |
|