NET/MASTER RMS Management and Operations Guide
Adding a Time-Based Rule
Creating and Developing Rulesets and Rules
115415 NonStop NET/MASTER RMS Management and Operations Guide 5–67
Specifying the Time-Based
Rule Actions
You can instruct the RMS timer to perform specified actions at specific times (for
example, to automate tasks). You specify the actions using the RMS : Time-Based Rule
Definition panel.
063
Actions (ANY combination may be entered)
Command Text ......
NCL Proc Name .....
Exec Cmd Group ....
You can set up the rule to instruct the RMS timer to perform the following when
triggered:
Issue NonStop NET/MASTER MS commands
Start an NCL procedure
Issue NonStop NET/MASTER MS commands using a command group
Note For the actions listed above to be effective, you must ensure that the control options of the ruleset allow
them. You can enable the actions using the RMS : Control Options Definition—Run Parms panel. See
“Enabling or Disabling Ruleset Features” earlier in this section. Furthermore, the user that owns the RMS
timer must have authority to issue the NonStop NET/MASTER MS commands specified in the rule
actions; otherwise, the actions cannot be performed.
Specifying NonStop NET/MASTER MS Commands to Be Issued
You can instruct the timer to issue one or more NonStop NET/MASTER MS
commands at specific times. Concatenate commands using the semicolon (;). Specify
the commands in the Command Text field on the RMS : Time-Based Rule Definition
panel. The field accepts up to 59 characters. If the commands you want to issue result
in a string that is too long for the field, use a command group (see “Specifying
NonStop NET/MASTER MS Commands to Be Issued Using a Command Group” later
in this section).
Specifying an NCL Procedure to Be Started
You can instruct the timer to start an NCL procedure at specific times. The procedure
should be in the NonStop NET/MASTER customized procedure library. The name of
the library is in the NonStop NET/MASTER MS startup parameter NCLCUSTSRC.
Use the NonStop NET/MASTER MS SHOW PARAM command on the OCS command
line to display the value of NCLCUSTSRC.
You may place the procedure in your NonStop NET/MASTER user procedure library
if you specify * in the User ID field. Your NonStop NET/MASTER MS user ID
definition contains the name of this library.