MainframeKit

2161

MQRC_Q_MGR_QUIESCING (X'0871')MQ REASON CODE

The call failed because the queue manager is shutting down in a controlled way and the program asked to be told about it.

MOST LIKELY

An administrator started a controlled shutdown of the queue manager.

FIRST CHECK

Finish the current work, commit or back out, and end the program.

TRY IT ▸

MainframeKit assistant

What it means

The queue manager is quiescing, meaning it is preparing to stop. Most calls still work, but programs that set the fail-if-quiescing options get 2161 so they can end cleanly.

Typical causes

  • An administrator started a controlled shutdown of the queue manager.
  • Planned maintenance or failover is in progress.

How to fix it

  1. Finish the current work, commit or back out, and end the program.
  2. Do not start new units of work during quiesce.
  3. Keep the fail-if-quiescing options set, so shutdowns are not delayed by your program.
  4. Restart or reconnect after the queue manager is back.

Example

Illustrative only; names and values are invented.

MQGET failed  CompCode=2  Reason=2161  QMgr=QM01