When a JCL statement requires testing, reformatting, or enforcement a search is performed to locate the appropriate rule. Since different rules can be defined with similar selection fields, it is possible that more than one rule will match a JCL statement. Therefore, rules are searched and used according to the criteria in the following order:
priority - Each rule is defined with a priority from 1 to 99. The rules with the higher priority (larger number) are searched first. The default priority is 50.
environment - a specified environment will be invoked before the GENERAL environment.
level of detail - Rules in which the selection fields are defined with more specific details are searched first. For example, DSN=A.B.* is more specific than DSN=A.* when a dataset with the name of A.B.C is processed.
continuity - Each rule is defined with a setting that determines whether to continue searching for additional rules that meet the selection criteria. A setting of N (No) stops the search for additional rules. Relevant only for site standards.