Previous Topic: Lesson 5: How to Enable and Disable Rules and Rule SetsNext Topic: Enable or Disable an Entire Rule Set


Enable or Disable a Single Rule

If you have not read Lesson 4: How to Organize Rules with Rule Sets, do so now. Then proceed.

To enable or disable a single rule

  1. Access the AOF control facility.

    Note: When requesting the Rule Set List panel, place a Y in the Stats field of the AOF CTRL Entry Panel so that statistics are included.

    In response to your entries, the Rule Set List panel appears, as shown in the following sample:

    AOF CTRL - Rule Set List ------ MSI1 --- OPS.*.RULES -------------- ROW 1 OF 3 COMMAND ===> SCROLL ===> PAGE Line Commands: S Select E Enable D Disable U Utilities A Set Auto-Enable Z Reset Auto-Enable C Compile X Delete Compile System: *LOCAL* RuleSet Status AE CNT VV.MM Created Changed Size Init Mod ID ACTION ENABLED Y 2 01.00 09/02/18 09/02/18 13:17 101 101 0 OPSLCD CICS ENABLED Y 2 01.00 09/01/12 09/02/21 15:59 15 20 1 OPSKED DB2 ENABLED Y 25 01.00 09/03/30 09/03/30 08:42 237 237 1 OPSRF

  2. Enable or disable an individual rule. Follow these steps to enable or disable a single rule:
    1. Select the rule set that contains the rule you want. From the Rule Set List panel, select a rule set by typing S to the left of the name of the rule set and pressing Enter.

      In response, the following Rule List panel appears listing all of the selected rules in the rule set:

      AOF CTRL - Rule List ------ MSI1 --- OPS.IMS.RULES Row 1 to 2 of 2 Command ===> Scroll ===> PAGE Line Commands: R EasyRule S ISPF Edit C Compile X Delete Compile V View E Enable D Disable A Set Auto-Enable Z Reset Auto-Enable System: *LOCAL* RuleName Status AE TYP VV.MM Created Changed Size Init MOD ID DFS994I ENABLED N MSG 01.00 09/11/14 09/11/14 06:32 3 3 0 USER123 IMSCTRL DISABLED N *** 01.00 09/11/14 09/11/14 06:33 3 3 0 USER123

    2. Enable a rule by typing E to the left of the name of the rule and press Enter. To disable a rule on the Rule List panel, type D to the left of the name of the rule and press Enter.