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

2058

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

MQCONN or MQCONNX used a queue manager name that is not valid or not known, or the parameter pointer is bad.

QUICK ANSWER

MQCONN or MQCONNX used a queue manager name that is not valid or not known, or the parameter pointer is bad.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The queue manager name passed is invalid or unknown.
  2. A client names a queue manager group that is not supported or does not exist.
  3. On z/OS IMS, CSQQDEFV has no matching name or no default entry, or the wrong CSQQDEFV module is loaded.
  4. On z/OS CICS, Groupresync is specified but MQNAME holds a queue manager name instead of the queue sharing group name, or the queue manager is not in a queue sharing group.
  5. On z/OS, an address space connects through a different adapter type from an existing MQ connection.

CHECKED 14 Nov 2026 IBM: 2058 (080A) (RC2058): MQRC_Q_MGR_NAME_ERROR | IBM MQ 10.0.x

MOST LIKELY

The queue manager name passed is invalid or unknown.

FIRST CHECK

Use an all-blank name if possible, or verify the name is valid.

TRY IT ▸

Site search

What it means

On connect, the QMgrName value is not valid or not known, or the parameter pointer is invalid. For clients it can mean a queue manager group name that is unsupported or does not exist. On z/OS there are CICS, IMS and adapter-mixing causes.

Typical causes

  • The queue manager name passed is invalid or unknown.
  • A client names a queue manager group that is not supported or does not exist.
  • On z/OS IMS, CSQQDEFV has no matching name or no default entry, or the wrong CSQQDEFV module is loaded.
  • On z/OS CICS, Groupresync is specified but MQNAME holds a queue manager name instead of the queue sharing group name, or the queue manager is not in a queue sharing group.
  • On z/OS, an address space connects through a different adapter type from an existing MQ connection.

How to fix it

  1. Use an all-blank name if possible, or verify the name is valid.
  2. For IMS, put the library with your CSQQDEFV before SCSQAUTH in STEPLIB or JOBLIB.
  3. For CICS with Resyncmember(Groupresync), use the queue sharing group name in MQNAME.

Example

Illustrative only; names and values are invented.

MQCONN failed  CompCode=2  Reason=2058  QMgrName=QM01