Issuing one notification for multiple conditions (2)
This example shows you how to monitor the availability of transactions whose names begin with the letters ETR throughout the CICSplex. (A transaction is not available if its status is DISABLED in any AOR in which it is locally defined.) An event notification and an alert is issued if any ETR* transaction is unavailable in one or more AORs.
This example is a variation on the previous example (Issuing one notification for multiple conditions(1)), in which you saw how to obtain a single set of notifications when the average number of current tasks in a CICSplex is high.
- Create an evaluation definition:
- From the main menu, click to display the Evaluation definitions tabular view (EVALDEF object).
- Click the Create... button. The Evaluation definitions create view is displayed.
- Complete the fields as follows:
Name RTEPAY11 Description Key transaction check Sample interval 300 Resource table LOCTRAN Instance identifier of evaluated resource ETR* Result set action ANY Field being evaluated STATUS Evaluation logical operator EQ Evaluation data value Disabled Severity assigned when result meets criteria VLS View that may provide extra information LOCTRAN - Click Yes to create the definition.
- Create an action definition:
- From the main menu, click to display the Action definitions tabular view (ACTION object).
- Click the Create... button. The Action definitions create view is displayed.
- Complete the fields as follows:
Name RTAPAY11 Description Key application unavailable Generate event Yes Name of view that might provide useful information LOCTRAN Action priority 255 Message to send when event occurs Key application unavailable Generate external message No Generate SNA generic alert Yes CMAS to which NetView attached CMSSYS1 Message text when alert raised Key application unavailable Message text when alert cleared Key application available again MVS automatic restart No - Click Yes to create the definition.
Notice that the Name of view that might provide useful information value is LOCTRAN. Although the event notification issued in this example is not specific (that is, it does not identify the transactions, nor does it tell you in which AORs they are unavailable), you can look at the Local or dynamic transactions tabular view (LOCTRAN object) to find out which transactions are DISABLED, and in which AORs they are locally defined.
- Create an analysis definition:
- From the main menu, click to display the RTA definitions tabular view (RTA object).
- Click the Create... button. To base the new definition on an existing one, click the Record check box before clicking the Create... button. The RTA definitions create view is displayed.
- Complete the fields as follows:
Name RTDPAY11 Description Key application check Analysis interval 300 Evaluation expression RTEPAY11 Execute evaluation modification string No Action definition name RTAPAY11 Count of true evaluations before VLS raised 1 Count of false evaluations before VLS resolved 1 Count of true evaluations before LS raised 1 Count of false evaluations before LS resolved 1 Count of true evaluations before LW raised 1 Count of false evaluations before LW resolved 1 Count of true evaluations before HW raised 1 Count of false evaluations before HW resolved 1 Count of true evaluations before HS raised 1 Count of false evaluations before HS resolved 1 Count of true evaluations before VHS raised 1 Count of false evaluations before VHS resolved 1 - Click Yes to create the definition.