You can immediately run the condition and event programs associated with a monitor. The selected monitor name is passed to the Run Monitor (RUNMON) command. The programs are run under a separate job without performing any of the predefined condition checking that is standard for the event class of the monitor and without requiring an active status.
The results of the run will be reflected in the monitor’s status. If the event program does not run successfully, the event failed flag and the shutdown flag are set to the same values as if the program failed when triggered by conditions specified for normal operation of the monitor. If the condition program is called, you will see messages in the message log indicating whether the condition was met. If the event program is called, you will see a message in the message log indicating the return code from the event program. The monitor detailed status is only updated if the event program is called.
Ensure that the exit program, event program, and condition program you specify for a monitor are owned by a valid user profile. If you use a user profile that is not valid, the monitor job that is running the program will end abnormally. A user profile may be not valid if it is disabled or if *NONE is specified for its password. If you encounter this situation, change the ownership of the program or change the user profile.
Do the following to immediately run the condition and event programs associated with a monitor:
-
From the MIMIX Basic Main Menu, select option
12
(Work with monitors) and press Enter. -
From the Work with Monitors display, type a
18
(Run) next to the monitor you want and press Enter.