2473 (09A9) (RC2473): MQRC_PROPERTY_TYPE_ERROR


Explanation

On an MQSETMP call, the Type parameter does not specify a valid MQTYPE_* value. For properties beginning "Root.MQMD." or "JMS" the specified Type must correspond to the data type of the matching MQMD or JMS header field:

  • For MQCHARn or Java String fields use MQTYPE_STRING.
  • For MQLONG or Java int fields use MQTYPE_INT32.
  • For MQBYTEn fields use MQTYPE_BYTE_STRING.
  • For Java long fields use MQTYPE_INT64.

On an MQINQMP call, the Type parameter is not valid. Either the parameter pointer is not valid, the value is invalid, or it points to read-only storage. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)


Completion code

MQCC_FAILED


Programmer response

Correct the parameter.

Parent topic: API reason codes