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

2059

MQRC_Q_MGR_NOT_AVAILABLE (X'080B')MQ REASON CODE · CHECKED 2026-11-14
Checked against IBM documentation

The queue manager named on MQCONN or MQCONNX is not available for connection.

QUICK ANSWER

The queue manager named on MQCONN or MQCONNX is not available for connection.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. On z/OS batch, the program runs in an LPAR that has no queue manager installed.
  2. On z/OS CICS, the original connect named a recognised queue manager that is not available.
  3. On z/OS, a system-wide ECSA shortage, or the ACELIM system parameter limiting storage for new connections (see message CSQ3202E).
  4. For a client, no queue manager in the client queue manager group is available, or the client channel failed to connect because of the client-connection or server-connection channel definitions.
  5. A command using CommandScope names a queue manager that is not active in the queue sharing group.

CHECKED 14 Nov 2026 IBM: 2059 (080B) (RC2059): MQRC_Q_MGR_NOT_AVAILABLE - IBM MQ 10.0.x

MOST LIKELY

On z/OS batch, the program runs in an LPAR that has no queue manager installed.

FIRST CHECK

Make sure the queue manager has been started.

TRY IT ▸

Site search

What it means

The queue manager identified by QMgrName cannot be connected to. For clients it can also come from a failed client channel or from no queue manager in a client group being available. The completion code is MQCC_FAILED.

Typical causes

  • On z/OS batch, the program runs in an LPAR that has no queue manager installed.
  • On z/OS CICS, the original connect named a recognised queue manager that is not available.
  • On z/OS, a system-wide ECSA shortage, or the ACELIM system parameter limiting storage for new connections (see message CSQ3202E).
  • For a client, no queue manager in the client queue manager group is available, or the client channel failed to connect because of the client-connection or server-connection channel definitions.
  • A command using CommandScope names a queue manager that is not active in the queue sharing group.

How to fix it

  1. Make sure the queue manager has been started.
  2. For a client application, check the channel definitions, channel status and error logs.
  3. In a multiple installation environment, make sure the IBM MQ libraries are loaded by the operating system.

Example

Illustrative only; names and values are invented.

MQCONN failed  CompCode=2  Reason=2059  QMgrName=QM01