
DISCARD MQMONITOR
Remove an MQMONITOR resource definition.
DISCARD MQMONITOR >>-DISCARD MQMONITOR(data-value)-------------------------------><
Conditions: INVREQ, NOTAUTH, NOTFND
This command is threadsafe.
Description
The DISCARD MQMONITOR command removes an installed MQMONITOR resource definition from the local CICS® system.
An MQMONITOR resource must be stopped and disabled before it can be discarded.
Options
- MQMONITOR(data-value)
- Specifies the 8-character name of the MQMONITOR resource to be removed.
You cannot remove the definition of a resource whose name begins with the letters DFH, because such resources are reserved for CICS.
Conditions
- INVREQ
- RESP2 values:
- 2
- The MQ monitor is started.
- 4
- The MQMONITOR resource is not DISABLED.
- NOTAUTH
- RESP2 values:
- 100
- Command authorization failure.
- NOTFND
- RESP2 values:
- 1
- The specified MQMONITOR resource definition cannot be found.

