The WMQ Disconnect program closes the connection to the MQ server. The parameter and return values for the WMQ Disconnect program are:
Parameter
Description
Queue Manager
Alpha (48). Output. The name of the MQ Queue Manager, which is part of the MQ installation
Return values
Numeric: 0 for success
Numeric (-110) when failed to disconnect
Numeric (-111) when Queue Manager parameter is empty