2501 (09C5) (RC2501): MQRC_MHBO_ERROR
Explanation
On an MQMHBUF call, the message handle to buffer options structure MQMHBO is not valid, for one of the following reasons:
- The StrucId field is not MQMHBO_STRUC_ID.
- The Version field specifies a value that is not valid or not supported.
- The parameter pointer is not valid. (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
Ensure that input fields in the MQMHBO structure are set correctly.
Parent topic: API reason codes