MQPUT - Put message - IBM
The MQPUT call puts a message on a queue or distribution list, or to a topic. The queue, distribution list, or topic must already be open.
Searching…
The MQPUT call puts a message on a queue or distribution list, or to a topic. The queue, distribution list, or topic must already be open.
When I run the project and try to send message over IBM MQ, I get this exception: JMS attempted to perform an MQPUT or MQPUT1; however IBM MQ reported an error.
To solve this problem, WebSphere MQ MQPUT1 reason codes are mapped in a specific negative number range. The range indicates which MQPUT procedure failed. All WebSphere MQ reason codes are in the 2000 to 2999 range. Fo...
This means that the queue manager does not know whether the message should be committed or backed out, and so has locked it until this is resolved when resynchronization takes place.
So there's nothing wrong with the client code and nothing wrong in the server end, but still the messages disappear in thin air. I have two questions: 1) Does the client software need to know whether it is a local or ...
If certain attributes of a queue are changed using the FORCE option on a command during the interval between you issuing an MQOPEN and an MQPUT call, the MQPUT call fails and returns the MQRC_OBJECT_CHANGED reason cod...
If a program has an open commit scope when it uses the MQPUT or MQPUT1 function to put a message on a queue, the message is not visible outside the unit of work until the unit of work is committed.
The queue manager will process the MQ call and reply with a TSH segment of MQPUT_REPLY with information about what happened to the MQPUT, including the Completion Code and Reason Code.
Use this topic to interpret and understand the messages and codes issued by IBM MQ for z/OS®. For each call, a completion code and a reason code are returned by the queue manager or by an exit routine, to indicate the...
This is because you need to give information to the MQPUT1 call about the queue that it has to open, whereas when you call MQPUT, the queue must already be open.