InhibitPut (10-digit signed integer) on IBM i

Controls whether put operations for this queue are allowed.

Local Model Alias Remote Cluster
X X X X X
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, in order for the MQPUT or MQPUT1 call to succeed. This can have one of the following values:

    QAPUTI
    Put operations are inhibited.

    MQPUT and MQPUT1 calls fail with reason code RC2051.

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

    QAPUTA
    Put operations are allowed.

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

Parent topic: Attributes for queues