Previous Topic: Syntax of Filter ExpressionsNext Topic: INCL and EXCL Lists


Patterns

The following examples illustrate the correct use of patterns.

To match all volumes starting with TSO, use the following statement:

Volumes INCL TSO/

To match all data sets that have fixed‑length records (whose record format is F, FA, FM, FBA, or FBM), use the following statement:

Recfm INCL F/

If you do not specify pattern characters in the test value, you can obtain the same result by using INCL or the = operator. The following statements are equivalent:

Dataset INCL an.exact.name
Dataset = an.exact.name

Using the = operator in the previous example is more efficient and produces a faster search.