CLEAR PROGRAM

From Recital Documentation Wiki
Revision as of 14:55, 18 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CLEAR PROGRAM

Class

Applications


Purpose

Closes files that are logically closed but physically open


Syntax

CLEAR PROGRAM


See Also

CLEAR FCACHE, SET FCACHE


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 Database Server, Recital Mirage Server, Recital Terminal Developer