+

Search Tips | Advanced Search

2520 (09D8) (RC2520): MQRC_RES_OBJECT_STRING_ERROR


Explanation

On the MQOPEN or MQPUT1 call in the Object Descriptor MQOD, or on the MQSUB call in the Subscription Descriptor MQSD the ResObjectString field is not valid.

One of the following applies:


Completion code

MQCC_FAILED


Programmer response

Ensure that one of ResObjectString.VSOffset or ResObjectString.VSPtr is zero and the other nonzero and that the buffer length is provided in ResObjectString.VSBufSize. Ensure that the field used points to accessible storage.