STOP CONN on Multiplatforms
Use the MQSC command STOP CONN to break a connection between an application and the queue manager.
Use MQSC commands
For information on how we use MQSC commands, see Performing local administration tasks using MQSC commands.
Synonym: STOP CONNSTOP CONN
Usage notes
There might be circumstances in which the queue manager cannot implement this command when the success of this command cannot be guaranteed.Parameter descriptions for STOP CONN
- ( connection-identifier )
-
The identifier of the connection definition for the
connection to be broken.
When an application connects to IBM MQ , it is given a unique 24-byte connection identifier (ConnectionId). The value of CONN is formed by converting the last eight bytes of the ConnectionId to its 16-character hexadecimal equivalent.
- EXTCONN
-
The value of EXTCONN is based on the first
sixteen bytes of the ConnectionId converted to its 32-character hexadecimal equivalent.
Connections are identified by a 24-byte connection identifier. The connection identifier comprises a prefix, which identifies the queue manager, and a suffix which identifies the connection to that queue manager. By default, the prefix is for the queue manager currently being administered, but we can specify a prefix explicitly by using the EXTCONN parameter. Use the CONN parameter to specify the suffix.
When connection identifiers are obtained from other sources, specify the fully qualified connection identifier (both EXTCONN and CONN) to avoid possible problems related to non-unique CONN values.