InhibitGet (MQLONG)

This controls whether get operations for this queue are allowed.

Local Model Alias Remote Cluster
X X X    
If the queue is an alias queue, get operations must be allowed for both the alias and the base queue at the time of the get operation, for the MQGET call to succeed. The value is one of the following:

    MQQA_GET_INHIBITED
    Get operations are inhibited.

    MQGET calls fail with reason code MQRC_GET_INHIBITED. This includes MQGET calls that specify MQGMO_BROWSE_FIRST or MQGMO_BROWSE_NEXT.

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

    MQQA_GET_ALLOWED
    Get operations are allowed.

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