2.66 EXCLUDEFILE
Valid for
Logger
Description
Use EXCLUDEFILE
to exclude specific files from extraction to the current log. You can implicitly and explicitly exclude files that have been included by the FILE
parameter. For example, if the Logger parameter file includes FILE
and EXCLUDEFILE
entries similar to:
FILE $DATA4.*.* EXCLUDEFILE $DATA4.DAT.TRANSFL
The EXCLUDEFILE
parameter excludes the specified file set, even though the preceding FILE
statement implicitly included it with a wildcard argument.
If used, EXCLUDEFILE
must follow the FILE
parameter. If a file is included by the FILE
parameter without filters, then excluded by EXCLUDEFILE
according to one or more filters, the file is excluded when the filter criteria are met.
You can exclude files by:
-
Specifying file sets to exclude.
-
Filtering file sets that are opened by a specified process or program.
-
Filtering file sets that are associated with an opening program's user ID.
Syntax
EXCLUDEFILEfile_set
[, PROCESSprocess_set
] [, PROGRAM program_set] [, USERuser_set
]
-
file_set
-
The name of the file set to exclude.
-
PROCESS
process_set
-
Excludes data when the opener is the process or set of processes specified (process set can be a single process or a wildcard, for example
$APP*
). -
PROGRAM
program_set
-
Excludes data when the opener is the program or set of programs specified (program set can be a single program or a wildcard:
$DATA1.PROGS.*
). -
USER
user_set
-
Excludes data when the creator access ID of the opener is the user specified (user set can be a single user or wildcard:
FINANCE.JOE
orSUPER.*
).