NET/MASTER RMS Management and Operations Guide
5 Creating and Developing
Rulesets and Rules
115415 NonStop NET/MASTER RMS Management and Operations Guide 5–1
This section provides instructions on how to create and develop rulesets as follows:
Create a ruleset. You must create a ruleset before you can implement any rules.
Add message action rules, message group rules, or time-based rules to a ruleset.
You use these rules to automate your tasks.
For each task, the section first gives the following high-level information:
1. How to access the function.
2. What data entry panels you encounter, how to access the input fields, and how to
validate your entered data. The section does not discuss the details of the fields at
this stage.
3. How to file your entered data.
The section then describes the use of the input fields. The section uses sample partial
panels on which the input fields under discussion are shaded gray to facilitate the
identification of the fields.
As you develop your ruleset, aim to add comments to the ruleset records you create.
Comments help to identify records and make ruleset management easier. See
“Maintaining Comments” in Section 6 on how to add and update comments.
Creating a Ruleset Before you can implement a rule, you must first create a ruleset. A ruleset determines
how a message handler processes messages. You need to specify the name of a ruleset
when you start a message handler. You may divide your rulesets into the following
types, according to the environments in which the rulesets are to work and the
message flows the rulesets are to process:
A ruleset that contains rules to handle messages from EMS (used with EMSPROC)
A ruleset that contains rules to handle messages to the NonStop NET/MASTER
MS activity log (used with LOGPROC)
Rulesets that contain rules to handle messages to a NonStop NET/MASTER MS
OCS window (used with MSGPROC)
Rulesets that contain rules to handle messages that are received into the
dependent queues of message handlers (used with INT-type message handlers)
One ruleset that contains global time-based rules
You can further divide your rulesets into smaller rulesets that are generally applicable
to any environment and specific rulesets that are particular to certain operating
environments. You can then use these smaller rulesets as building blocks and use the
%INCLUDE rules to build your final ruleset.
When creating a ruleset, you can set up the ruleset control options that determine how
RMS handles the following aspects of the ruleset:
How to handle message delivery
How to handle multiple rule triggers by a message