Feedback

  • Contents
 

MQ Disconnect

This WebSphere MQ tool executes the MQDISC call to break the connection between the queue manager and the application program. See the MQDISC call documentation in your WebSphere MQ Application Programming Guide for more information.

Inputs

Hconn

The connection handle to the Queue Manager to disconnect. The MQConnect tool generates this connection handle. This value corresponds to the Hconn input parameter in the MQDISC call.

Use connection cache

Select this check box to use connection caching.

Outputs

Reason Code

For each call, a completion code and a reason code are returned by the queue manager or by an exit routine, to indicate the success or failure of the call. This value corresponds to the Reason code parameter in the MQDISC call. The WebSphere MQ Application Programming Guide contains a list of reason codes and their meanings.

Exit Paths

Success

This step takes the Success exit path if the completion code indicates success.

Failure

This step takes the Failure exit path if the completion code indicates failure. The reason for tool failure is contained in the Reason Code parameter.