Function (MQCHAR4)

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

The value returned in this field depends on ReturnCode ; see Table 1. The following values are possible when Function contains an IBM 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 constants have the same values as the corresponding MQCFUNC_* constants, but are arrays of characters instead of strings.

Parent topic: Fields for MQCIH