CATCACHE= System Option

Specifies the number of SAS catalogs to keep open in cache memory.
Valid in: Configuration file, SAS invocation
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.
See: CATCACHE System Option: UNIX in SAS Companion for UNIX Environments

CATCACHE System Option: Windows in SAS Companion for Windows

CATCACHE= System Option: z/OS in SAS Companion for z/OS

Syntax

CATCACHE=n | hexX | MIN | MAX

Syntax Description

n
specifies any integer greater than or equal to 0 in terms of bytes. If n > 0, SAS places up to that number of open-file descriptors in cache memory instead of closing the catalogs.
hexX
specifies the number of open-file descriptors that are kept in cache memory as a hexadecimal number. You must specify the value beginning with a number (0-9), followed by an X. For example, the value 2dx sets the number of catalogs to keep open to 45 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 the largest, signed, 4–byte integer representable in your operating environment.
Tip:The recommended maximum setting for this option is 10.

Details

Use the CATCACHE= system option to tune an application by avoiding the overhead of repeatedly opening and closing the same SAS catalogs.
CAUTION:
When using both the CBUFNO= and CATCACHE= options, if one of the option's value is set higher than zero, the other option must be set to zero.