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.)

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.

Completion Code

MQCC_FAILED

Programmer response

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