Difference between revisions of "CLEAR PROGRAM"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Helengeorge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Closes files that are logically closed but physically open | Closes files that are logically closed but physically open | ||
Line 27: | Line 25: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Applications Commands]] | [[Category:Applications Commands]] |
Latest revision as of 14:58, 10 November 2009
Purpose
Closes files that are logically closed but physically open
Syntax
CLEAR PROGRAM
See Also
Description
The CLEAR PROGRAM closes files that are logically closed but physically open because of the SET FCACHE ON command. SET FCACHE ON speeds up program execution by leaving files physically open, thereby eliminating the involvement of the operating system when re-opening a file.
Normally this command should not be needed as files should be removed from the open file cache when an open request conflicts with the file's current status, for example shared versus exclusive or update versus read-only.
Example
// Program to tidy up on exit of an application clear program
Products
Recital Server, Recital