Option restrictions

There are certain restrictions for setting options. For example, there are three input choices for Open options. These options are mutually exclusive. In addition, none of the input Open options can be selected if MQOO_OUTPUT is chosen. Similarly, only one Close option can be selected.

Typical selections for the inbound queue are:

  • For Open options:

    MQOO_INPUT_AS_Q_DEF

    MQOO_INQUIRE

    MQOO_FAIL_IF_QUIESCING

  • For Close options:

    MQCO_NONE

  • For Get Msg options:

    MQGMO_WAIT

    MQGMO_SYNCPOINT

    MQGMO_FAIL_IF_QUIESCING

    MQGMO_CONVERT

  • For Put Msg options:

    MQPMO_NONE

Typical selections for the outbound queue would be:

  • For Open options:

    MQOO_OUTPUT

    MQOO_FAIL_IF_QUIESCING

  • For Close options:

    MQCO_NONE

  • For Put Msg options:

    MQPMO_FAIL_IF_QUIESCING

If the outbound queue is a local queue, then the Get Msg options can also be set.