CATCACHE System Option: Windows

Specifies the number of SAS catalogs to keep open.
Valid in: configuration file, SAS invocation
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES
Default: 0
Windows 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 the repeated opening and closing of the same catalogs.
If SAS is running on a z/OS server and the MINSTG system option is in effect, SAS sets the value of CATCACHE to 0.