Function (MQCHAR4)

The value returned in this field depends on ReturnCode; see Table 24. The following values are possible when Function contains an MQ call name:

MQCFUNC_MQCONN
MQCONN call.
MQCFUNC_MQGET
MQGET call.
MQCFUNC_MQINQ
MQINQ call.
MQCFUNC_MQOPEN
MQOPEN call.
MQCFUNC_MQPUT
MQPUT call.
MQCFUNC_MQPUT1
MQPUT1 call.
MQCFUNC_NONE
No call.

In all cases, for the C programming language the constants MQCFUNC_*_ARRAY are also defined; these have the same values as the corresponding MQCFUNC_* constants, but are arrays of characters instead of strings.

This is a response field. The length of this field is given by MQ_FUNCTION_LENGTH. The initial value of this field is MQCFUNC_NONE.