z/OS DFSMS Using the Volume Mount Analyzer
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Examples of Include/Exclude Filters

z/OS DFSMS Using the Volume Mount Analyzer
SC23-6859-00

If you specify the DATASET keyword as follows:
DATASET (INCLUDE (AAA.B%B.**), EXCLUDE (AAA.BZB.**))
only data sets with a high-level qualifier of AAA and a second-level qualifier beginning and ending with B would fit the INCLUDE pattern. From this group of selected data sets, GFTAVMA would EXCLUDE those whose second-level qualifier is BZB.

If you specify a DATASET keyword with no INCLUDEs, only EXCLUDEs, GFTAVMA compares all the data that was not previously filtered against the EXCLUDE list and excludes from the analysis the data sets that fit the EXCLUDE pattern.

The following example shows the DATASET keyword with an INCLUDE that works, but an EXCLUDE that is superfluous:
DATASET (INCLUDE (AAA.B%B.**), EXCLUDE (AAA.CZC.**))
Only data sets with a high-level qualifier of AAA and a second-level qualifier beginning and ending with B fit the INCLUDE pattern. However, the EXCLUDE pattern says exclude data sets with a high-level qualifier of AAA and a second-level qualifier of CZC. Unlike the previous example, this pattern is not a subset of the INCLUDE pattern. Thus, the EXCLUDE sub-keyword is superfluous because these data sets would be excluded anyway since they do not match the include pattern.
If you specify two primary include/exclude filters together:
DATASET (INCLUDE (AAA.**)) JOBNAME (INCLUDE (FQX73B))
they interact using Boolean "OR" logic. Therefore, the results of this combination would include all data sets with a high-level qualifier of AAA and all data sets created by the job named FQX73B.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014