2098 (0832) (RC2098): MQRC_CONTEXT_NOT_AVAILABLE
Explanation
On an MQPUT or MQPUT1 call, MQPMO_PASS_IDENTITY_CONTEXT or MQPMO_PASS_ALL_CONTEXT was specified,
but the queue handle specified in the Context
field of the
PutMsgOpts parameter has no context associated with it. This arises if no
message has yet been successfully retrieved with the queue handle referred to, or if the last
successful MQGET call was a browse.
This condition does not arise if the message that was last retrieved had no context associated
with it.
- On z/OS®, if a message is received
by a message channel agent that is putting messages with the authority of the user identifier in the
message, this code is returned in the
Feedback
field of an exception report if the message has no context associated with it.
Completion code
MQCC_FAILED
Programmer response
Ensure that a successful nonbrowse get call has been issued with the queue handle referred to.