Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

2009

MQRC_CONNECTION_BROKEN (X'07D9')MQ REASON CODE · CHECKED 2026-11-14
Checked against IBM documentation

The link between the application and the queue manager was lost, so every connection and object handle the program held is now invalid.

QUICK ANSWER

The link between the application and the queue manager was lost, so every connection and object handle the program held is now invalid.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The queue manager has ended.
  2. The connection between the application and the queue manager was lost for another reason.

CHECKED 14 Nov 2026 IBM: 2009 (07D9) (RC2009): MQRC_CONNECTION_BROKEN | IBM MQ 10.0.x

MOST LIKELY

The queue manager has ended.

FIRST CHECK

Issue MQCONN or MQCONNX again to reconnect; polling until it succeeds may be needed.

TRY IT ▸

Site search

What it means

The connection to the queue manager has been lost, which can happen because the queue manager ended. A waiting MQGET with the wait option is cancelled, and all connection and object handles become invalid.

For MQI client applications, the call may actually have completed even though it reports a failed completion code.

Typical causes

  • The queue manager has ended.
  • The connection between the application and the queue manager was lost for another reason.

How to fix it

  1. Issue MQCONN or MQCONNX again to reconnect; polling until it succeeds may be needed.
  2. Back out any uncommitted changes in the unit of work; a unit of work coordinated by the queue manager is backed out automatically.
  3. On z/OS CICS, no explicit MQCONN is needed because CICS applications are connected automatically.
  4. On z/OS IMS, check the subsystem with DIS SUBSYS and start it with STA SUBSYS if necessary.

Example

Illustrative only; names and values are invented.

MQGET failed  CompCode=2  Reason=2009  QMgr=QM01