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: |
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.
The FOCUS TED editor will open a template file for building a custom rule with the name you provided.
You are returned to the Custom rules window.
Note: BRL, the language used to build custom rules is case sensitive. It is therefore recommended that you add a TEDPROF member to your FOCEXEC PDS for editing custom rules and add the following line:
CASE MIXED IGNORE
If you already have a TEDPROF, simply add this line to it.
The following options available to you:
If you make any changes to existing Custom rules, you must recreate the rule file. For more information, see How to Recreate Rule Files and How to Build a Rule File.
Note: If you edit the file, always include the following syntax to ensure execution:
THEN DBA Rules Concluded
For more information, see Business Rule Language Reference.
Information Builders |