2547 (09F3) (RC2547): MQRC_RECONNECT_INCOMPATIBLE

Explanation

An MQI option is incompatible with reconnectable connections.

This error indicates that the option relies on information in a queue manager that is lost during reconnection. For example, the option MQPMO_LOGICAL_ORDER, requires the queue manager to remember information about logical message ordering that is lost during reconnection.

This reason also occurs for an MQOPEN when the object being opened is a clustered queue, if the open options include MQOO_BIND_ON_OPEN (or the default bind option for the queue equates to that value), the connection to the queue manager was made using the MQCNO_RECONNECT option, and the queue manager is in a uniform cluster.

[MQ 9.4.0 Jun 2024]You cannot use authentication tokens to connect to IBM® MQ if the reconnect option is specified. If an application supplies an authentication token, and specifies the MQCNO_RECONNECT or MQCNO_RECONNECT_Q_MGR option in the MQCNO structure, the connection fails and this reason code is returned to the application.
[MQ 9.4.2 Feb 2025][UNIX, Linux, Windows, IBM i]This reason also occurs if the application instance mode is set to JVM and one of the following statements is true:
  • The application attempted to make JMS connections that have incompatible options from within the same client Java virtual machine.
  • The application attempted to create connections that are not reconnectable.
For more information about the requirements when using this mode of operation, see JVM mode restrictions.

Completion code

MQCC_FAILED

Programmer response

Modify your application to remove the incompatible option, or do not allow the application to be reconnectable.