LOG_EXCLUDE_PATTERN

Use this variable to exclude certain files from being logged in the transaction log file.

If you want to exclude multiple patterns, specify each pattern on a separate line. The following example excludes all transactions from files within the temp directory from being logged in the transaction log file:

LOG_EXCLUDE_PATTERN /temp/*
Note: You can exclude files based on a glob pattern: use ? (single character) and * (any number of characters).

To reset the patterns in effect (i.e. remove them), use the SET verb within a COBOL program to set the variable to SPACES.

The LOG_EXCLUDE_PATTERN and LOG_INCLUDE_PATTERN variables are mutually exclusive. LOG_INCLUDE_PATTERN only has an effect when no exclude patterns are specified. By default, none of these variables are set, and all transactions for all files are recorded in the log file.