ResObjectString (MQCHARV)

This is the long object name after the queue manager resolves the name provided in ObjectName.

If the long object name is provided in ObjectString and nothing is provided in ObjectName, then the value returned in this field is the same as provided in ObjectString.

If this field is omitted (that is ResObjectString.VSBufSize is zero) then the ResObjectString is not returned, but the length is returned in ResObjectString.VSLength. If the length is shorter than the full ResObjectString then it is truncated and returns as many of the rightmost characters as can fit in the provided length.

If ResObjectString is specified incorrectly, according to the description of how to use the MQCHARV structure, or if it exceeds the maximum length, the call fails with reason code MQRC_RES_OBJECT_STRING_ERROR.

Parent topic: Fields for MQSD