NET/MASTER RMS Management and Operations Guide

Adding a Message Action Rule
Creating and Developing Rulesets and Rules
5–28 115415 NonStop NET/MASTER RMS Management and Operations Guide
You can specify up to five tests and base the validation on a logical combination of the
tests. If you do not want to place any restrictions, leave the fields blank.
Specifying a Test. You can test for a specified string in a message. You specify the
following fields on the RMS : Message Validation panel:
The position in the message to start testing in the Start Pos field, the Word Num
field, or both
The type of test in the Opr field
The text to test for—up to 58 characters—in the Scan Text field (you must specify
this field if you have specified the Start Pos or the Word Num field)
Specify a test as follows:
1. The Start Pos field and the Word Num field determine the string to be tested. The
Start Pos field defines the character position where the test should start; the Word
Num field defines the position of the word to be tested. Blanks and commas are
word delimiters. The valid values for both fields are blank and 1 through 256.
If you want the string to be the entire message, leave both fields blank.
If you want the string to be the second part of the message, starting from a
point that is a number of characters from the beginning of the message, specify
the number in the Start Pos field.
If you want the string to be a word, specify the word position in the Word
Num field.
If you want the string to be part of a word, specify both fields.
For example, the following message arrives:
NNM0686 USER NMTJT FAILED TO PROVIDE CORRECT PASSWORD,
AFTER TRYING 3 TIMES ON $ATP5.#TERM4
If the Start Pos field has a value of 14, the string to be tested is as follows:
NMTJT FAILED TO PROVIDE CORRECT PASSWORD, AFTER TRYING
3 TIMES ON $ATP5.#TERM4
If the Word Num field has a value of 3, the string to be tested is as follows:
NMTJT
If the Start Pos field has a value of 8, and the Word Num field has a value of
14, the string to be tested is as follows:
TERM4