DefInputOpenOption (10-digit signed integer) on IBM i

Default input open option.

Local Model Alias Remote Cluster
X X
This is the default way in which the queue should be opened for input. It applies if the OOINPQ option is specified on the MQOPEN call when the queue is opened. This can have one of the following values:

    OOINPX
    Open queue to get messages with exclusive access.

    The queue is opened for use with subsequent MQGET calls. The call fails with reason code RC2042 if the queue is currently open by this or another application for input of any type (OOINPS or OOINPX).

    OOINPS
    Open queue to get messages with shared access.

    The queue is opened for use with subsequent MQGET calls. The call can succeed if the queue is currently open by this or another application with OOINPS, but fails with reason code RC2042 if the queue is currently open with OOINPX.

To determine the value of this attribute, use the IADINP selector with the MQINQ call.

Parent topic: Attributes for queues