TSAs have the following precedence (in descending order):
Exlusions
Inclusions
Other options
The algorithms used by the scan and restore functions has the following precedence (in descending order):
Open, read, or write option (such as NWSM_DO_NOT_OVERWRITE_DATA_SET)
Exclude a data set
Include a data set
Exclusion always takes precedence over inclusion in any case and so the scan and restore functions deduce which files are implicitly excluded. The exceptions are the Include/Exclude option, Include Path/Files. These options includes the specified files in a directory and excludes all other files in that same directory. However, all other directories and the files in the entire file system tree are included in the scan (unless other options are used).