MQIA_* values" /> Selectors (MQLONGxSelectorCount) - input
Home

 

Selectors (MQLONGxSelectorCount) - input

This is an array of SelectorCount attribute selectors; each selector identifies an attribute (integer or character) whose value is to be set.

Each selector must be valid for the type of queue that Hobj represents. Only certain MQIA_* and MQCA_* values are allowed; these values are listed below.

Selectors can be specified in any order. Attribute values that correspond to integer attribute selectors (MQIA_* selectors) must be specified in IntAttrs in the same order in which these selectors occur in Selectors. Attribute values that correspond to character attribute selectors (MQCA_* selectors) must be specified in CharAttrs in the same order in which those selectors occur. MQIA_* selectors can be interleaved with the MQCA_* selectors; only the relative order within each type is important.

We can specify the same selector more than once; if you do, the last value specified for a given selector is the one that takes effect.

Notes:

  1. The integer and character attribute selectors are allocated within two different ranges; the MQIA_* selectors reside within the range MQIA_FIRST through MQIA_LAST, and the MQCA_* selectors within the range MQCA_FIRST through MQCA_LAST.

    For each range, the constants MQIA_LAST_USED and MQCA_LAST_USED define the highest value that the queue manager accepts.

  2. If all the MQIA_* selectors occur first, the same element numbers can be used to address corresponding elements in the Selectors and IntAttrs arrays.

  3. If the SelectorCount parameter is zero, Selectors is not referred to; in this case, the parameter address passed by programs written in C or System/390 assembler might be null.

The attributes that can be set are listed in the following table. No other attributes can be set using this call. For the MQCA_* attribute selectors, the constant that defines the length in bytes of the string that is required in CharAttrs is given in parentheses.

Table 81. MQSET attribute selectors for queues
Selector Description Note
MQCA_TRIGGER_DATA Trigger data (MQ_TRIGGER_DATA_LENGTH).
MQIA_DIST_LISTS Distribution list support. 1
MQIA_INHIBIT_GET Whether get operations are allowed.
MQIA_INHIBIT_PUT Whether put operations are allowed.
MQIA_TRIGGER_CONTROL Trigger control.
MQIA_TRIGGER_DEPTH Trigger depth.
MQIA_TRIGGER_MSG_PRIORITY Threshold message priority for triggers.
MQIA_TRIGGER_TYPE Trigger type.
Note:

  1. Supported only on AIX, HP-UX, i5/OS, Solaris, Linux, Windows, plus WebSphere MQ clients connected to these systems.



 

Home