2025 (07E9) (RC2025): MQRC_MAX_CONNS_LIMIT_REACHED


Explanation

The MQCONN or MQCONNX call was rejected because the maximum number of concurrent connections has been exceeded.

  • On z/OS, the connection limits are 32767 for both TSO and Batch.
  • On HP Integrity NonStop Server, IBM i, Linux, UNIX, and Windows, this reason code can also occur on the MQOPEN call.
  • When using Java applications, the connection manager might define a limit to the number of concurrent connections. Note: The application using IBM MQ might have delegated the management of connections to a framework or connection pool, for example, a Java EE application server, an application framework such as Spring, an IBM Container (for IBM Cloud), or a combination of these. For more information, see IBM MQ classess for JMS object pooling.


Completion code

MQCC_FAILED


Programmer response

Either increase the size of the appropriate parameter value, or reduce the number of concurrent connections.

Parent topic: API reason codes


Related information