|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Put is successful Get fails with 2009 error code. |
« View previous topic :: View next topic » |
Author |
Message
|
LuisFer |
Posted: Fri Jan 23, 2009 10:37 am Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
We have a similar problem (and a pmr open not solved) with a Linux client doing MQGET over a z/OS Queue with GMO_CONVERT & ACCEPT_TRUNCATED_MSG.
The CCSIDs are 284 (z) and 1208 (Linux) This convertion is supported but on the JobLog appears a msg about convertion not supported.
The client fails on the MQGET with 2009.
The z Queue is the destiny of the CSQUDLQH utility.
Only fails with messages from from NSK (CCSID 819) with SET_ALL_CONTEXT |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Jan 23, 2009 11:42 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Vitor wrote: |
kevinf2349 wrote: |
...and left on the queue too. |
Really?
The APR says:
Quote: |
MQGMO_ACCEPT_TRUNCATED_MSG
If the message buffer is too small to hold the complete message, allow the MQGET call to fill the buffer with as much of the message as the buffer can hold, issue a warning completion code, and complete its processing. This means that:
When browsing messages, the browse cursor is advanced to the returned message.
When removing messages, the returned message is removed from the queue.
Reason code MQRC_TRUNCATED_MSG_ACCEPTED is returned if no other error occurs.
Without this option, the buffer is still filled with as much of the message as it can hold, a warning completion code is issued, but processing is not completed. This means that:
When browsing messages, the browse cursor is not advanced.
When removing messages, the message is not removed from the queue.
Reason code MQRC_TRUNCATED_MSG_FAILED is returned if no other error occurs. |
|
My mistake. You are correct I was somehow thinking he was talking about Truncated_failed. That'll teach me to trying to do too many things at once. Like breath and type
 |
|
Back to top |
|
 |
patkatm |
Posted: Wed Jan 28, 2009 6:04 am Post subject: problem solved - thanks to all |
|
|
Newbie
Joined: 09 Jan 2009 Posts: 7
|
As Vitor said it was Firewall problem. I insisted my system admin to check the config @ the firewall - Allow fragment was disabled. So my firewall rejecting these packet and disconnecting the connectivity. After enabling my code is working fine. I didnt use Allow_Truncate option to receive the message. Thanks once again. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|