SET FCACHE
Purpose
Enable or disable open file caching
Syntax
SET FCACHE ON | OFF | (<expL>)
See Also
CLEAR FCACHE, CLEAR PROGRAM, SET DCACHE, SET ICACHE, SET PCACHE
Description
If FCACHE is ON, any files that are opened are recorded in the ’open file cache ’. When the file is closed, it is logically closed but not physically closed in the operating system. Further requests to open the file are satisfied from the ’open file cache’, thereby speeding up program execution by removing an operating system action. The files are stored in the ’open file cache’ until the process file limit is exceeded.
If FCACHE is OFF, closing files physically closes them in the operating system. If FCACHE is ON, the CLEAR FCACHE command must be issued as well as a CLOSE command in order to physically close files in the operating system. The default setting for FCACHE is OFF.
Example
set fcache on
Products
Recital Server, Recital