+

Search Tips | Advanced Search

2097 (0831) (RC2097): MQRC_CONTEXT_HANDLE_ERROR


Explanation

On an MQPUT or MQPUT1 call, MQPMO_PASS_IDENTITY_CONTEXT or MQPMO_PASS_ALL_CONTEXT was specified, but the handle specified in the Context field of the PutMsgOpts parameter is either not a valid queue handle, or it is a valid queue handle but the queue was not opened with MQOO_SAVE_ALL_CONTEXT.


Completion code

MQCC_FAILED


Programmer response

Specify MQOO_SAVE_ALL_CONTEXT when the queue referred to is opened.

Parent topic: API reason codes

Last updated: 2020-10-04