Previous Topic: Lesson 2: Test and Verify a Rule

Next Topic: Lesson 4: How to Organize Rules into Rule Sets

Lesson 3: Establish More Rules

By following the procedures in this lesson, you can:

To establish more rules

  1. Verify that the AOF Test Rule List panel is being displayed:

    If not, proceed with the following instructions:

  2. Type S IEC233I on the Command line and press Enter.
  3. Enter the text of another suppression rule.

    Your program should look just like the one shown here. This four-line REXX program is another rule that suppresses the system message IEC233I.

    AOF TEST ----- USERID.TEST.RULES(IEC233I) - 01.00--------- COLUMNS 000 000 COMMAND ===> SCROLL ===> PAGE ****** ***************************** Top of Data **************************** '''''' )MSG IEC233I '''''' )PROC '''''' IF MSG.JOBNAME ='J1234' THEN RETURN 'SUPPRESS' '''''' ELSE RETURN 'DELETE' '''''' '''''' '''''' ''''''

  4. Press your PF3 key or enter END on the Command line.

    Your newest rule is created and ready to test and verify as you did in Lesson 2: Test and Verify a Rule.

  5. Establish a Command Rule by typing S CMDTEST on the Command line of the AOF Test Rule List panel.
  6. Enter the text of a new command rule.

    Your program should look just like the following one. This REXX program is a rule that responds to a z/OS command event.

    AOF TEST ----- USERID.TEST.RULES(CMDTEST) - 01.00--------- COLUMNS 000 000 COMMAND ===> SCROLL ===> PAGE ****** ***************************** Top of Data **************************** '''''' )CMD CMDTEST '''''' )PROC '''''' SAY OPSINFO('CPUID') 'FOR THIS CPU' '''''' RETURN 'ACCEPT' '''''' '''''' '''''' '''''' '''''' ''''''

  7. Press your PF3 key or enter END on the Command line.

    Your command rule is created and ready to test and verify as you did in Lesson 2: Test and Verify a Rule.

Go to Lesson 4: How to Organize Rules into Rule Sets.