The example in Figure 97 demonstrates how a rule can be designed to react to a specific message with specific content.
Figure 97 Example of Reacting to Specific Message Content
ON MESSAGE = IST093I
JNAME JTYPE SMFID SYSTEM
ROUTE DESC CONSOLEID CONSOLE
APPEARED TIMES IN MINUTES And/Or/Not A
ON STRING = TSOM COL 009 - 012
JNAME JTYPE SMFID SYSTEM
ROUTE DESC CONSOLEID CONSOLE
APPEARED TIMES IN MINUTES And/Or/Not
OWNER IOAADMIN GROUP MODE PROD RUNTSEC
THRESHOLD
DESCRIPTION REACTING TO A SIMPLE MESSAGE
DESCRIPTION TSO VTAM NODE ACTIVE - START TSO
===========================================================================
DO COMMAND = S TSO
WAIT CONSOLEID CONSOLE SYSTEM
WAITMODE N
Explanation
This rule combines two ON statements to determine when the rule is triggered: The IST093I message is detected and the string "TSOM" is found in the text of the message.
And/Or/Not A
indicates that the rule will only be triggered when both ON statements are true. When the IST093I message is detected and the string "TSOM" is found in the text of the message, it indicates that the VTAM TSO node has been activated, and TSO can be started.
DO COMMAND=S TSO
This DO statement performs the command necessary to start TSO.
Parent Topic |