You can stop the connection to WebSphere® MQ by issuing an EXEC CICS SET MQCONN
command in a CICS® application program.
Procedure
- To carry out a quiesced shutdown where control is not returned to the application until the
connection is stopped, issue the following command:
EXEC CICS SET MQCONN NOTCONNECTED
The BUSY(WAIT) option, which makes the request synchronous, is the default.
- To carry out a quiesced shutdown where control is returned to the application before the
connection is stopped (an asynchronous request), issue the following command:
EXEC CICS SET MQCONN NOTCONNECTED NOWAIT
- To carry out a forced shutdown, issue the following command:
EXEC CICS SET MQCONN NOTCONNECTED FORCE
With a forced shutdown, control is not returned to the application until the connection is
stopped.