Previous Topic: MQ CLOSE—Close QueueNext Topic: ADDRESS MQ Debug Parameter


MQ DISCONNECT—Disconnect Queue Manager

The ADDRESS MQ DISCONNECT command disconnects from a specific queue manager.

This command has the following format:

ADDRESS MQ DISCONNECT
   {CONHANDLE(varHCONN)}
CONHANDLE(varHCONN)

Defines the variable name that stores the connection handle.

Example: MQ DISCONNECT

This example disconnects from the message queue:

ADDRESS MQ "DISCONNECT CONHANDLE(hconn)"