Start of change

CEMT SET MQMONITOR

Enable or disable an MQMONITOR resource definition. Start or stop the MQ monitor. Set automatic restart of the MQ monitor.

Use the SET MQMONITOR command to enable or disable an MQMONITOR resource definition (ENABLESTATUS attribute), start or stop the MQ monitor (MONSTATUS attribute), or set whether the MQ monitor starts automatically when the MQ connection is established (AUTOSTART attribute).

This command does not set any other MQMONITOR attributes. To change these attributes, you must change the resource definition and then reinstall the resource.

If you want to change the QNAME attribute of a reserved MQMONITOR resource definition DFHMQINI, you must change the INITQNAME attribute of the MQCONN resource definition for which DFHMQINI is installed and then reinstall the MQCONN resource definition.

Syntax

Press the Clear key to clear the screen. You can start this transaction in two ways:
  • Type CEMT SET MQMONITOR (or suitable abbreviations for the keywords). The resulting display lists the status, similar to that obtained by using the CEMT INQUIRE MQMONITOR command. You can tab to the highlighted or blank fields and overtype them with the required values.
  • Type CEMT SET MQMONITOR (or suitable abbreviations for the keywords), followed by one or more attribute settings that you want to change.

Typing ? at the beginning of either the first or second line gives a syntax prompt.

Read syntax diagramSkip visual syntax diagram
SET MQMONITOR

>>-SET MQMONITOR--(--data-value--)------------------------------>

>--+-------------------------------------------------------------------------------------+-><
   '-+-AUTOSTATUS--(--cvda--)-+--+-ENABLESTATUS--(--cvda--)-+--+-MONSTATUS--(--cvda--)-+-'   
     +-AUTOSTART--------------+  +-ENABLED------------------+  +-STARTED---------------+     
     '-NOAUTOSTART------------'  '-DISABLED-----------------'  '-STOPPED---------------'     

Conditions: IOERR, INVREQ, NOTAUTH, NOTFND, TRANIDER, USERIDERR

Options

AUTOSTART(cvda)
Specifies whether the MQ monitor starts automatically when the connection to the WebSphere® MQ queue manager is established. The CVDA values are as follows:
AUTOSTART
The MQ monitor starts automatically when the MQ connection is established.
NOAUTOSTART
The MQ monitor does not start automatically.
ENABLESTATUS(cvda)
Specifies whether the MQMONITOR resource definition is available for use. The CVDA values are as follows:
ENABLED
Enable the MQMONITOR resource definition for use.
DISABLED
Disable the MQMONITOR resource definition.
MONSTATUS(cvda)
Starts or stops the MQ monitor. The CVDA values are as follows:
STARTED
Start the MQ monitor.
STOPPED
Stop the MQ monitor.
MQMONITOR(data-value)
Specifies the 8-character name of the MQMONITOR resource that you want to set.


dfha7-setmqmonitor.html | Timestamp icon Last updated: Monday, 5 June 2017
End of change