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:
ResObjectString.VSLengthis greater than zero, butResObjectString.VSOffsetis zero andResObjectString.VSPtris the null pointer.ResObjectString.VSOffsetis nonzero andResObjectString.VSPtris not the null pointer (that is, it appears both fields are being used where only one is allowed).ResObjectString.VSPtris not a valid pointer.ResObjectString.VSOffsetorResObjectString.VSPtrpoints to storage that is not accessible.ResObjectString.VSBufSizeis MQVS_USE_VSLENGTH and one ofResObjectString.VSOffsetorResObjectString.VSPtrhave been provided.
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.