NET/MASTER RMS Management and Operations Guide

Message Handlers
Message Handlers, Timers, Rulesets, and Rules
115415 NonStop NET/MASTER RMS Management and Operations Guide 2–3
The message handler processes a received message as follows:
1. If the message is one of EMS0001 through EMS0511 that starts with the word
LDEV and if the message comes from the local system, the handler sets the
message subject to the name of the device indicated by the message.
2. The handler checks the rules in the ruleset to determine if the message satisfies the
triggering conditions in a rule (that is, if the message triggers a rule). If the
handler finds a match (and overrides the message subject for the matching rule if
applicable), it invokes the user-written message validation exit NCL procedure in
the matching rule (if supplied) and waits for the procedure to complete.
3. If the validation is successful, the handler checks the frozen subjects to determine
if the subject of the message is frozen. If the message subject is not frozen, it
(1) invokes the user-written rule action exit NCL procedure in the rule (if
supplied), (2) waits for the procedure to complete, and (3) performs any further
processing as specified by the rule; for example, delivering a modified message
and performing predefined tasks.
If (1) the message handler does find a match, (2) validation by the message validation
exit NCL procedure fails, or (3) the message subject is frozen, the handler invokes the
user-written default propagation exit NCL procedure (if supplied) to process the
message, waits for the procedure to complete, and delivers or suppresses the message
as specified by the ruleset.