Previous Topic

Next Topic

Book Contents

Book Index

Best Match Order

Best Match Order sorts the rules according to the following order of precedence:

  1. PRIORITY–Assigned priority values in descending alphabetic order.
  2. ON DATASET–Data set name (alphabetic values) in descending alphabetic order.
  3. ON JOBNAME – Job name (alphabetic values) in descending alphabetic order.
  4. ON–Rules containing ON statements other than ON DATASET have a higher priority than rules not containing such ON statements.

Rules with the most detailed, specific criteria are listed before more generic rules. This way, Control-M/Tape can locate the rule that meets exact search criteria quickly. If no best match rule is located, generic rules listed at the end of the list can be used (similar to defaults).

Table 178 Generic Rules Applied When No Best Match Rule is Located

Parameter

Order

Description

PRIORITY

99–0
ZZ–A

The PRIORITY subparameter takes precedence over all other subparameters. This allows the user to override the sort order for any rule by simply changing the priority.

ON DATASET

9–0
Z–A
?
*

Because the data set name is the most specific component in search criteria, it has the second highest precedence. The order is reverse (descending) alphabetic, which means that ABC* appears before AB*.

ON JOBNAME

9–0
Z–A
?
*

The order is reverse (descending) alphabetic, which means that ABC* appears before AB*.

ON

(yes)
(no)

Rule definitions that contain ON parameters other than ON DATASET (for example, MEDIA, VOLUME, ACCOUNT) are more specific than rule definitions without such ON parameters. Therefore, rule definitions with such ON parameters are listed before rule definitions without them.

Parent Topic

Control-M/Tape Rules