2513 (09D1) (RC2513): MQRC_PROPERTY_NAME_LENGTH_ERR

Explanation

An attempt was made to set, inquire or delete a property with an invalid name. This is for one of the following reasons:
  • The VSLength field of the property name was set to less than or equal to zero.
  • The VSLength field of the property name was set to greater than the maximum allowed value (see constant MQ_MAX_PROPERTY_NAME_LENGTH).
  • The VSLength field of the property name was set to MQVS_NULL_TERMINATED and the property name was greater than the maximum allowed value.

Completion code

MQCC_FAILED

Programmer response

Valid property names are described in the IBM® MQ documentation. Ensure that the property has a valid name length before issuing the call again.