The MN system
initialization parameter specifies whether monitoring is to be switched
on or off at initialization.
- MN={OFF|ON}
- Use the individual monitoring class system initialization parameters
to control which monitoring classes are to be active (see the MNEXC,
MNPER, and MNRES parameter descriptions.) The default status is that
the CICS monitoring facility is off. The monitoring status
is recorded in the CICS global catalog for use during warm and emergency
restarts.
- OFF
- Switch off monitoring.
- ON
- Switch on monitoring. However, unless at least one individual
class is active, no monitoring records are written.
Note: - If the monitoring status is ON, CICS accumulates monitoring data
continuously. For each monitoring class that is active, CICS writes
the monitoring data to a system management facilities (SMF) data set.
If the monitoring status is OFF, CICS does not accumulate or write
any monitoring data, even if any of the monitoring classes are active.
- You can change the monitoring status and the monitoring class
settings at any time, as follows:
- During a warm restart by coding system initialization parameters
in PARM, SYSIN, or through the system console.
- While CICS is running, using:
- The monitoring facility transaction CEMN.
- The CEMT SET MONITOR command.
- The EXEC CICS SET MONITOR command.
When you change the status of monitoring, the change takes
effect immediately. If you change the monitoring status from OFF to
ON, monitoring starts to accumulate data and write monitoring records
to SMF for all tasks that start after the status change is made, for
all active monitoring classes. If the status is changed from ON to
OFF, monitoring stops writing records immediately and does not accumulate
monitoring data for any tasks that start after the status change is
made.
- The monitoring status setting can be manipulated independently
of the class settings. This means that, even if the monitoring status
is OFF, you can change the monitoring class settings, and the changes
take effect for all tasks that are started after the monitoring status
is next set to ON.