Previous Topic: SELECT and EXCLUDE Rule #6Next Topic: SELECT and EXCLUDE Rule #8


SELECT and EXCLUDE Rule #7

If only EXCLUDE commands are specified for a given action command, if any EXCLUDE statement is met, the data set is bypassed. If no EXCLUDE commands test true, the data set will be processed.

For example,

SCAN REALVOLS
EXCLUDE VOLUMES=PROD/
EXCLUDE VOLUMES=SYS/
SELECT DSN=/
REPORT MVDICT

would not report on your PROD or SYS volumes, only on your other volumes.