2058 (080A) (RC2058): MQRC_Q_MGR_NAME_ERROR

Explanation

On an MQCONN or MQCONNX call, the value specified for the QMgrName parameter is not valid or not known. This reason also occurs if the parameter pointer is not valid. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)
  • [z/OS]On z/OS® for CICS® applications, this reason can occur on any call if the original connect specified an incorrect or unrecognized name.

[z/OS]For CICS, this reason can be caused by the wrong resync value. For example, Groupresync is specified and the queue manager is not in a queue sharing group.

This reason code can also occur if an MQ MQI client application attempts to connect to a queue manager within an MQ-client queue-manager group (see the QMgrName parameter of MQCONN), and either:
  • Queue-manager groups are not supported.
  • There is no queue-manager group with the specified name.

[z/OS]For IMS adapter on z/OS, this can be caused by the library containing your CSQQDEFV module being after the SCSQAUTH data set in steplib. Move your library above the SCSQAUTH data set.

Completion Code

MQCC_WARNING or MQCC_FAILED

Programmer response

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

If you are using CICS Resyncmember(Groupresync), use the queue-sharing group (QSG) name in the MQNAME rather than the queue manager name.