Technote (FAQ)
Question
I am using MQOD to put the same message to multiple MQ queues. However, when one queue is full or unavailable, I do not get the status of that queue. Is there a way to get the status?
Answer
It is currently not possible to get the status of a single queue when putting the same message to multiple queues using MQOD. However, there was an APAR IC69452 fix that provided a new attribute "fail-on-warning" that can be used with the MQOD virtual header. When the attribute value is true, DataPower will fail the MQOPEN or MQPUT operation using a distribution list when some of the destinations have failures.
An example use of the 'fail-on-warning' attribute:
<MQOD fail-on-warning="true">
<MQOR><ObjectName>QUEUE1</ObjectName></MQOR>
<MQOR><ObjectName>QUEUE2</ObjectName></MQOR>
<MQOR><ObjectName>QUEUE3</ObjectName></MQOR>
......
</MQOD>
APAR IC69452: DATAPOWER DOES NOT HANDLE THE SITUATION OF A DESTINATION QUEUE NOT BEING IN A DISTRIBUTION LIST.
When the 'fail-on-warning' attribute is used and some of the destination queues are full, the PUT will fail with MQ Reason Code 2136.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.