Previous Topic: AOF DELCOMP—Delete Compiled RulesNext Topic: Dynamic Rules Support for DISABLE


AOF DISABLE—Disable Rules

The DISABLE command makes rules ineligible to run and removes them from storage.

When you issue the DISABLE command, CA OPS/MVS sets the RC variable to zero. Unless the NOOUTPUT keyword is specified, the external data queue contains the results of any SAY statements in the )TERM section of the rule. These results appear as OPS1000I messages.

AOF DISABLE has the following format:

ADDRESS AOF "DISABLE keywords"
[ruleset|ruleset.rule|*DYNAMIC.rule]
[SYSTEM(ALL|EXT|sysnames)]
[SYSWAIT(seconds)]
[OUTPUT|NOOUTPUT]

AOF DISABLE Sample Coding Statements

The following examples show sample coding statements for AOF DISABLE:

Note: The original location of the source text of the rule (either the external data queue or stem variables) is irrelevant.