Manage MQ Adapter Status at Runtime

This article describes how to manage the status of the MQ Adapter at runtime:
idms19
This article describes how to manage the status of the MQ Adapter at runtime:
2
Enable, Disable, and Quiesce 
Use the following DCMT commands to enable, disable, and quiesce the status of the MQ Adapter:
COMMAND
DESCRIPTION
EXAMPLE
DCMT DISPLAY MQ
Displays the queue manager name and the status of the IDMS MQ connection (enabled and disabled).
Displays the current values and the values set in SYSGEN.
DCMT DISPLAY MQ
DCMT V MQ ENABLED
Enables the IDMS MQ connection.
DCMT V MQ ENABLED
DCMT V MQ DISABLED
Disable the IDMS MQ connection.
Use DCMT V MQ DISABLED to allow active program sessions to complete on their own. When the last session ends, the MQ connection becomes disabled.
Enables you to force the DMS MQ connection to disable when there are active sessions.
If you cannot wait for program sessions to end, use the FORCE option by reissuing the command as DCMT V MQ DISABLED FORCE. Active sessions are taken away from their owning tasks, open objects are closed, and uncommitted work is backed out. An active task discovers its session has been taken when it issues an MQ call. The call fails with a reason code indicating that the connection was broken.
DCMT V MQ DISABLED without the FORCE option defaults to QUIESCE.
Use DCMT V MQ DISABLE QUEISCE to Prevents the execution of any new MQCONN and MQOPEN requests, but allow executing applications with existing MQ sessions to finish processing. QUIesce is the default option for a DCMT VARY MQ DISABLED command.  MQ support will be disabled when all MQ sessions have terminated. Tasks waiting for a message will receive an error code, when MQGET was issued with the MQGMO_FAIL_IF_QUIESCING option.
DCMT V MQ DISABLED
DCMT V MQ DISABLED FORCE
DCMT V MQ DISABLED QUIESCE
Modify IBM MQ Queue Manager
Use the following DCMT command to change the queue manager that is connected to by the CV system:
COMMAND
DESCRIPTION
EXAMPLE
DCMT VARY MQ
Enables you to change the name of the queue manager.
DCMT VARY MQ QUEUE MANAGER
<MQ queue manager name>