Custom Rules

Custom rules, formerly known as Local DBA Rules, allow you to supplement the options for customizing SmartMode. For example, you can use custom rules to screen for specific request syntax or write a log file. The next time you build a rule file for this database, SmartMode will incorporate the custom rules.

How to:

Create Custom Rules

Manage Custom Rules

The custom rules are written in Business Rule Language (BRL) a knowledge representation language that provides a framework for organizing information and knowledge into a rule file. You can study the rules to learn, for example, why a job might be canceled.

Rules can be added to SmartMode either to complement existing data rules generated through the build rules process or for standalone execution. You can add these rules to affect rule files individually.

Once you have created the custom rules, use Build Rules to build a Rule file that includes the custom rules and then associate it with the appropriate database(s).

For more information on BRL, the syntax, and an example of custom rules, see Business Rule Language Reference.


Top of page

Procedure: How to Create Custom Rules

  1. From the Database control menu select Custom rules. The following window opens:

  1. Press PF10 to create a new Custom Rule. The following window opens.

  1. Enter the name of the custom rule file and press Enter.

  1. Type the necessary custom rule logic.

  2. When you have finished, type FILE on the command line to save the new custom rule and press Enter.


Top of page

Procedure: How to Manage Custom Rules

  1. From the Database control menu select Custom rules. The following window opens:

  1. Press Enter to return to the Database Control Menu.


Information Builders