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 automatic restart of the MQ monitor (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
- 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.
Conditions: IOERR, INVREQ, NOTAUTH, NOTFND, TRANIDER, USERIDERR
Options
- AUTOSTART(cvda)
- Specifies whether the MQ monitor starts automatically. The CVDA values are as follows:
- AUTOSTART
- The MQ monitor starts automatically in either of the following situations:
- When the connection to the IBM® MQ queue is established.
- If the z/OS Workload Manager (WLM) health service is active (see WLMHEALTH), every increment in the z/OS WLM HEALTH value of the CICS region from zero to 100%. For more information, see Effect of z/OS Workload Manager Health service on MQMONITORs and Alert monitor (CKAM).
- 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.