Options (MQLONG)

Control options structure - Options field

Options that control the action of MQCTL.

    MQCTLO_FAIL_IF_QUIESCING
    Force the MQCTL call to fail if the queue manager or connection is in the quiescing state.

    Specify MQGMO_FAIL_IF_QUIESCING, in the MQGMO options passed on the MQCB call, to cause notification to message consumers when they are quiescing.

    MQCTLO_THREAD_AFFINITY
    This option informs the system that the application requires that all message consumers, for the same connection, are called on the same thread. This thread will be used for all invocations of the consumers until the connection is stopped.

Default option: If we do not need any of the options described, use the following option:

    MQCTLO_NONE
    Use this value to indicate that no other options have been specified; all options assume their default values. MQCTLO_NONE is defined to aid program documentation; it is not intended that this option be used with any other, but as its value is zero, such use cannot be detected.

This is an input field. The initial value of the Options field is MQCTLO_NONE.

Parent topic: Fields for MQCTLO