CATCACHE System Option: UNIX

Specifies the number of SAS catalogs to keep open.
Valid in: configuration file, SAS invocation, SASV9_OPTIONS environment variable
Category: Files: SAS files
PROC OPTIONS GROUP= SASFILES
Default: 0
UNIX specifics: Valid values for n
See: CATCACHE= System Option in SAS System Options: Reference

Syntax

-CATCACHE n | nK | MIN | MAX

Required Arguments

n | nK
specifies the number of open-file descriptors to keep in cache memory in multiples of 1 (n) or 1,024 (nK). You can specify decimal values for the number of kilobytes. For example, a value of 8 specifies 8 open-file descriptors, a value of .782k specifies 801 open-file descriptors, and a value of 3k specifies 3,072 open-file descriptors.
If n > 0, SAS places up to that number of open-file descriptors in cache memory, instead of closing the catalogs.
MIN
sets the number of open-file descriptors that are kept in cache memory to 0.
MAX
sets the number of open-file descriptors that are kept in cache memory to 32,767.

Details

By using the CATCACHE system option to specify the number of SAS catalogs to keep open, you can avoid repeatedly opening and closing the same catalogs.

See Also

Definitions for Optimizing System Performance in SAS Language Reference: Concepts