Previous Topic

Next Topic

Book Contents

Book Index

Rule Stack Variables

A Control-O rule can trigger other Control-O rules through DO RULE statements. When a series of Control-O rules trigger each other they are referred to collectively as a Rule Stack. Control-O rules can be stacked up to 20 deep.

The variables listed below can be included in a Control-O rule to determine information about the Rule Stack of the rule.

Some of these variable names must be supplied with a numerator, where 0 indicates the first rule in a stack, 1 is the rule triggered by the first rule in the stack (that is, the second rule in the stack), and so on.

Note: These variables are intended primarily for use during debugging operations.

Table 190 Rule Stack Variables

Variable

Description

%%$ODATE n

Date when the rule table containing the nth rule in the Rule Stack was ordered.

Note: Do not confuse this variable with %%$RDATE, which is the installation current working day.

%%$OTIME n

Time when the rule table containing the nth rule in the Rule Stack was ordered.

%%$RULELIBRARY n

Name of the rule library containing the nth rule in the Rule Stack.

%%$RULETABLE n

Name of the rule table containing the nth rule in the Rule Stack.

%%$RULENAME n

Name of the nth rule in the Rule Stack.

%%$RULELEVEL

Level of the current rule in the Rule Stack.

%%$RULCREATOR n

The creator of the nth rule in the Rule Stack.

%%$RULCRTDATE n

The date that the nth rule in the Rule Stack was created.

%%$RULCRTTIME n

The time that the nth rule in the Rule Stack was created.

%%$RULDESC n

The first line of the DESCRIPTION for the nth rule in the Rule Stack.

%%$RULGRP n

The GROUP name of the nth rule in the Rule Stack.

%%$RULMODE n

The current MODE of the nth rule in the Rule Stack.

%%$RULMODEO n

The original MODE of the nth rule in the Rule Stack.

%%$RULOWNER n

The OWNER of the nth rule in the Rule Stack.

%%$RULPRIO n

The PRIORITY of the nth rule in the Rule Stack.

%%$RULRELEAS n

The Control-O release when the nth rule in the Rule Stack Stack was last updated.

%%$RULSEARCH n

The SEARCH value of the nth rule in the Rule Stack.

%%$RULTHRESHOLD n

The THRESHOLD value of the nth rule in the Rule Stack.

%%$RULTHRSMAX n

The number of times the rule reached the THRESHOLD value of the nth rule in the Rule Stack.

%%$RULTHRSNOW n

The current THRESHOLD value of the nth rule in the Rule Stack.

%%$RULUPDATETOR n

The updater of the nth rule in the Rule Stack.

%%$RULUPDDATE n

The date that the nth rule in the Rule Stack was last updated.

%%$RULUPDTIME n

The time that the nth rule in the Rule Stack was last updated.

%%$RULVERSION n

The rule version of the nth rule in the Rule Stack.

%%$TDATE n

Date when the rule table containing the nth rule in the Rule Stack was ordered.

Note: Do not confuse this variable with %%$RDATE, which is the installation current working day.

%%$TTIME n

Time when the rule table containing the nth rule in the Rule Stack was ordered.

Note: The values of %%$RULTHRESHOLD, %%$RULTHRSMAX, and %%$RULTHRSNOW are updated when the rule ends successfully.

Examples

Parent Topic

System Variables