+

Search Tips | Advanced Search

2449 (0991) (RC2449): MQRC_OPERATION_NOT_ALLOWED


Explanation

An MQCTL call was made with an Operation that is not allowed, because of the current state of asynchronous consumption on the hConn.

If Operation was MQOP_RESUME, the operation is not allowed because the state of asynchronous consumption on the hConn is STOPPED. Re-issue MQCTL with the MQOP_START Operation.

If Operation was MQOP_SUSPEND, the operation is not allowed because the state of asynchronous consumption on the hConn is STOPPED. If you need to get your hConn into a SUSPENDED state, issue MQCTL with the MQOP_START Operation followed by MQCTL with MQOP_SUSPEND.

If Operation was MQOP_START, the operation is not allowed because the state of asynchronous consumption on the hConn is SUSPENDED. Re-issue MQCTL with the MQOP_RESUME Operation.

If Operation was MQOP_START_WAIT, the operation is not allowed because either


Completion code

MQCC_FAILED


Programmer response

Re-issue the MQCTL call with the correct Operation.