Modifying the state of a resource

You can use an evaluation definition and an analysis definition to modify a CICS® resource when it is not in the intended state.

This example is an extension of the example in Reusing analysis specifications and analysis groups, which described how to monitor files in the CICS system group called CGSAORS1. This task uses the time period definition (PDFCHECK) and the action definition (RTAPAY12) from that example.
  1. Create the evaluation definition:
    • From the main menu, click Administration > RTA MAS resource monitoring > Evaluations 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:
    • Click Yes to create the definition.

    In this example, the modification string expression modifies the ENABLESTATUS and OPENSTATUS attributes to make the specified files available.

  2. Create the analysis definition:
    • From the main menu, click Administration > RTA MAS resource monitoring > Definitions to display the RTA definitions tabular view (RTA object).
    • Click the Create... button. The RTA definitions create view is displayed.
    • Complete the fields as follows:
    • Click Yes to create the definition.

    The Execute evaluation modification string field indicates that the resource modification defined in the evaluation definition should be performed when the evaluation condition is true.

    Note: For a complete description of the RTA definitions view, see RTA definitions.
  3. Associate the new analysis definition with the existing analysis group:
    • From the RTA definitions tabular view, click the Record check box beside the entry for RTDPAY14 and click the Add to RTA group... button.
    • On the Add to RTA group view, complete the fields as follows:
    • Click Yes to add the definition to the RTA group.
The Analysis Group RTGPAY02 already exists and it has already been associated with the analysis specification RTSPAY02. Therefore, analysis definition RTDPAY14 is installed automatically in the CICS systems in group CSGAORS1 when those systems are next started, for the period of time defined in PDFCHECK.