Proc Reference > PQN Proc Commands > F-KLOSE

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

F-KLOSE command (Proc) (m618403+fklose.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

F-KLOSE

Closes a specified file buffer.

Syntax

F-KLOSE file-buffer-number

F-K file-buffer-number

Syntax Elements

file-buffer-number
is the number of the file buffer to be closed. Valid numbers are 1 to 47, but note that 19 and 20 are reserved for system Procs.

file-buffer-number can be a direct or indirect file buffer reference.

Operation

The F-KLOSE command closes the File Control Block (FCB) associated with the file buffer and releases the overflow space associated with it.

Note that the overflow space is associated with file buffers because this is the mechanism used to store data which has been moved or read into them.

The F-KLOSE command is not required in normal operations. Users who open remote files might wish to close them via F-KLOSE when further references are not required.

Example

F-KLOSE 1

Closes file buffer 1.

RealityV15.0Comment on this topic