MainframeKit

2162

MQRC_Q_MGR_STOPPING (X'0872')MQ REASON CODE

The call failed because the queue manager is shutting down; no more MQ calls are possible on this connection.

MOST LIKELY

The queue manager is being stopped, normally or immediately.

FIRST CHECK

Clean up and end the program.

TRY IT ▸

MainframeKit assistant

What it means

The queue manager is ending. A waiting MQGET is cancelled. For clients, the failed call may still have completed on the server. On z/OS, timing can mean the program gets 2009 instead if the stop finishes first.

Typical causes

  • The queue manager is being stopped, normally or immediately.
  • Planned maintenance or a failover.
  • An operator ended the queue manager after a quiesce took too long.

How to fix it

  1. Clean up and end the program.
  2. If an external coordinator manages the unit of work, call its back-out function; MQ-managed units of work are backed out for you.
  3. For clients, check whether the last call actually completed before resending.
  4. Reconnect once the queue manager is running again.

Example

Illustrative only; names and values are invented.

MQPUT failed  CompCode=2  Reason=2162  QMgr=QM01