FILEEXCLUDE
Valid for
Extract
Description
Use FILEEXCLUDE to exclude files or file sets from a wildcard list. Specify the FILEEXCLUDE parameter after the EXTFILE or EXTTRAIL entry to which the rule applies. This parameter is an alias for TABLEEXCLUDE.
Example
The following example includes file names that begin with A, except for files in subvolume BADSUB, files that begin with AB and the file $DATA1.BAD.A123. Data is output into EXTFILE $DATA1.EXTDAT.EXTFILE1. Data from any file beginning with A would be included in EXTFILE $DATA1.EXTDAT.EXTFILE2.
EXTFILE $DATA1.EXTDAT.EXTFILE1 FILE $*.*.A; FILEEXCLUDE $*.BADSUB.* FILEEXCLUDE $*.*.AB* FILEEXCLUDE $DATA1.BAD.A123 EXTFILE $DATA1.EXTDAT.EXTFILE2 FILE $*.*.A;