Using Business Rule Language (BRL)

Business Rule Language (BRL) allows IF/THEN testing on certain information available when the rules execute. Your own cancel message can be included within the rules you create by using special message variables.

BRL is a non-procedural, high-level application development language that allows you to develop sophisticated programs with less effort than conventional programming languages. BRL rules consist of three parts: the rule name, which serves as a comment or description, and is not syntactically necessary to the rule; a supporting condition (antecedent) or procedure statement; and a conclusion.

The procedure and conclusion are expressed through IF-THEN statements. When a rule is executed, Resource Governor determines whether these IF-THEN statements lead to a specified goal. Every BRL rule file, or knowledge base, must have at least one goal statement describing a conclusion that can be reached by your rules and that affects governing decisions, deciding whether the query is to be canceled or run. The final goal statement pre-established for all Resource Governor rules is DBA Rules Concluded, but you may also specify additional sub-goals within your customized rule file.

Resource Governor uses a process called backward chaining, which involves starting with the final goal and working backward through the sub-goals expressed within the rules to arrive at the final goal.


WebFOCUS