Using wildcard notation
You can also use wildcard notation for multiple character
replacement in a character string. The wildcard character is an asterisk
(*). You can use the wildcard character as the last
position of a character string, or by itself. If a character string
contains an asterisk in a position other than the last, it is treated
as a character; for example, if you specify a character string of CI*S,
the third character in a matching character string must have
an asterisk as the third character. An asterisk by itself indicates
a match for all characters.
Examples of wildcard notation
For
example, suppose your installation has a naming convention for your CICS® AORS and TORS. You can use
the following wildcard notation in your CICS classification
rules. Note that the subsystem instance of CI*S is not wildcard notation,
a matching subsystem instance must be CI*S.
-------Qualifier------------- -------Class--------
Type Name Start Service Report
DEFAULTS: CICSSTC2 ________
1 TN TOR* ___ CICSSTC1_
1 TN AOR* ___ CICSSTC3_
1 SI CI*S ___ CICSTEST_Important Note
Be careful when
putting specific definitions below wildcards, which might cause an
unwanted early match. In the example, the rule for TOR11 is useless,
because a TOR11 transaction will match the TOR* rule before it.
-------Qualifier------------- -------Class--------
Type Name Start Service Report
DEFAULTS: CICSSTC2 ________
1 TN TOR* ___ CICSSTC1_
1 TN TOR11 ___ CICSSTC4_