NET/MASTER RMS Management and Operations Guide

RMS Rules
Message Handlers, Timers, Rulesets, and Rules
2–12 115415 NonStop NET/MASTER RMS Management and Operations Guide
Replace the message with a new message and deliver the message line by line or
in a panel. You can extract text from the original message and include the
extracted text in the new message.
Rule Actions in Message Action Rules
When a message triggers a message action rule, the rule determines the actions to take.
A message action rule can perform the following actions:
Issue NonStop NET/MASTER MS commands.
Start an NCL procedure as a separate NCL process from the message handler.
Load a time-based rule to activate an RMS timer.
Set the value of variables. For example, you may have used a variable to contain
the message ID criterion in rule A. Initially, the variable contains a null value, and
rule A is never triggered. If you define rule B to set the variable when triggered,
then when a message triggers rule B, the variable is set. Rule A can now be
triggered. Rule A is a dynamic rule.
Load another ruleset to replace the current ruleset. The message handler uses the
new ruleset and the accompanying rules to handle future messages.
Execute a user-specified rule action exit NCL procedure as part of the message
handler. Use the procedure to implement actions that RMS does not directly
support. Unless you want to set the variables first, the message handler executes
the rule action exit NCL procedure first and waits for the procedure to complete
before performing the other actions.
Rule Characteristics When Used to Trigger a Message Group Rule
If you want to use a message action rule as one of the triggers for a message group
rule, you register the message action rule as a member of the message group rule.
Define the following rule characteristics to govern how the rule behaves as a member
of the message group rule:
Define a time interval that determines the trigger life of the message action rule.
As long as the trigger life of the rule has not lapsed, the message group rule
regards the rule as being in a triggered state. The trigger life starts when a
message triggers the rule. For a group of message action rules to trigger a message
group rule, the message action rules must all be in a triggered state at the same
time.
Define a correlation key to correlate with other rule members of the message
group rule. Only rules that were triggered by messages with the same key can
trigger the message group rule. One example of a key is an RMS message
variable.
See also “Message Group Rules” next in this section.