Previous Topic: AOF DELCOMP—Delete Compiled Rules

Next Topic: Dynamic Rules Support for DISABLE

AOF DISABLE—Disable Rules

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

Issuing the DISABLE command sets the RC variable to zero. Unless the NOOUTPUT keyword is explicitly or implicitly 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.

This command has the following format:

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

Examples: DISABLE Command

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