Manage MQ Trigger Monitor at Runtime

This article describes how to manage the MQ Trigger Monitor at runtime:
idms19
This article describes how to manage the MQ Trigger Monitor at runtime:
 
 
2
 
 
Start and Restart MQ Trigger Monitor
The trigger monitor instance that serves the defined initiation queue is started automatically when the CV is started. If the connection of the instance to the initiation queue is broken, the instance will continuously attempt to reconnect after waiting the amount of time that is specified by the polling interval. If the instance is stopped manually, or polling is disabled, the instance must be restarted manually.
Use the following DCMT commands to stop and restart all or one IDMS MQ trigger monitor defined to a CV:
COMMAND
 
DESCRIPTION
 
EXAMPLE
 
DCMT VARY
LINE
Enables you to disable all active trigger monitors or enable all inactive trigger monitors defined to a CV.
DCMT VARY LINE 
<MQ LINE name>
 ON
DCMT VARY LINE 
<MQ LINE name>
 OFF
DCMT VARY PTERM
Enables you to disable or enable a particular trigger monitor (defined as an MQTRIGGR PTERM type).
DCMT VARY PTERM <MQ PTERM name> OFFLINE
 DCMT VARY PTERM <MQ PTERM name> ONLINE
Display and Modify MQ Trigger Monitor Definitions
Use the following DCMT commands to display and modify the definitions that are used to define the MQ Trigger Monitor:
COMMAND 
 
DESCRIPTION 
 
EXAMPLE 
 
DCMT DISPLAY
LINE
Enables you to display information that is associated with the line that is defined for IDMS MQ.
DCMT DISPLAY LINE <MQ LINE name>
DCMT DISPLAY
LTERM
Displays information for a logical terminal that is defined for IDMS MQ.
DCMT DISPLAY LTERM <MQ
LTERM name>
DCMT DISPLAY
PTERM 
Enables you to display the MQTRIGGER PTERMs.
DCMT DISPLAY PTERM <MQ
PTERM name>
DCMT VARY
LINE
Enables you to change the line attributes defined for MQ.
DCMT VARY LINE 
<MQ LINE name>
 ON
DCMT VARY
LTERM
Enables you to change logical terminal attributes defined for MQ.
DCMT VARY LTERM <MQ
LTERM name> OFFLINE
DCMT VARY PTERM
Enables you to manage the MQTRIGGR PTERMs.
DCMT VARY PTERM <MQ PTERM name> OFFLINE
Modify the IBM MQ Initiation Queue 
Use the following DCMT commands to change the initiation queue that is used by an MQ Trigger Monitor instance:
 
COMMAND 
 
 
DESCRIPTION 
 
 
EXAMPLE 
 
DCMT VARY PTERM
Enables you to manage the MQ initiation queue dynamically. 
 
Note:
 The PTERM must be varied OFFLINE to vary the initiation queue.
DCMT VARY PTERM <MQ PTERM name> INITIATION QUEUE <MQ INITIATION QUEUE name>