For information about time monitors, see Time monitors (*TIME).
Do the following to create a time monitor:
-
From the MIMIX Basic Main Menu, select option
12
(Work with monitors) and press Enter. -
From the Work with Monitors display, type a
1
(Create) in the Opt column next to the blank line at the top of the list and press Enter. -
The Create Monitor Object (CRTMONOBJ) display appears. Do the following:
-
At the Monitor prompt, provide a unique name for the monitor.
-
At the Event class prompt, specify
*TIME
. -
If you want to assign this monitor to a grouping of similar monitors, either for participating in triggering a group monitor or for subsetting, specify a name for the Monitor group prompt.
-
To call a program before (pre-exit) and after (post-exit) each operation performed on a monitor, specify the program name and library for the Interface exit program prompt. If you want to run a command when the event is triggered, refer to the tips for Common parameters on the CRTMONOBJ command.
-
To call a program containing user-defined conditions after the predefined condition is met, specify the program name and library for the Condition program prompt.
-
To call a program that initiates user-defined actions when the predefined conditions and user-defined conditions are met, specify the program name and library for the Event program prompt.
Note: If you want to run a command instead of an event program, specify *NONE for the Event program prompt and specify *CMD for the Interface exit program prompt. After the monitor is created, you will be prompted to provide the command information. -
To use a different job description to submit the monitor job and for asynchronous jobs started for the monitor, specify the name and library for the Job description prompt.
-
Press Enter. Additional parameters will appear on the display.
-
-
Do the following to specify how often and when to run the time monitor. Refer to Tips for time monitors if necessary.
-
At the Frequency prompt, specify how often the condition and event programs are to be run.
-
The Scheduled date and Scheduled day prompts are mutually exclusive. Specify a value for one of these prompts to indicate when the monitor is to run. Specify *NONE for the prompt you do not use.
-
Specify the time of day that the monitor is to run at the Scheduled time prompt.
-
-
If you want time monitors in FAILED or INACTIVE state to automatically start when the master monitor is started, specify *YES for the Start with master monitor prompt.
-
Provide a text description of the monitor at the Description prompt and press Enter.
-
If you specified a frequency of *MONTHLY and a value for the Scheduled date prompt, the Relative day of month prompt appears. Press F1 (Help) to see a description of the possible values. Specify a value and press Enter.
-
If you specified
*CMD
for the Interface exit program, the Add Monitor Information (ADDMONINF) display appears. Do the following:-
Type the command that you want to use and provide the appropriate parameters and values.
-
Type the name of the library in which the command resides in the Library parameter and press Enter. You can also type *DFT to use the library specified on the Command parameter. If no library is specified on the Command parameter, the library list is used to locate the command. If the command is found, the library name is retained. If you specify *LIBL, the library list is used to locate the command.
-