Home

 

InhibitPut (MQLONG)

Local Model Alias Remote Cluster
Yes Yes Yes Yes Yes

This controls whether put operations for this queue are allowed. If there is more than one definition in the queue-name resolution path, put operations must be allowed for every definition in the path (including any queue-manager alias definitions) at the time of the put operation, for the MQPUT or MQPUT1 call to succeed. The value is one of the following:

MQQA_PUT_INHIBITED

Put operations are inhibited.

MQPUT and MQPUT1 calls fail with reason code MQRC_PUT_INHIBITED.

Note:
If an MQPUT call operating within a unit of work completes successfully, changing the value of the InhibitPut attribute subsequently to MQQA_PUT_INHIBITED does not prevent the unit of work being committed.

MQQA_PUT_ALLOWED

Put operations are allowed.

To determine the value of this attribute, use the MQIA_INHIBIT_PUT selector with the MQINQ call. To change the value of this attribute, use the MQSET call.



 

Home