Flushing file data to disk

flush

Flush file data to disk


SYNTAX

flush file_id [,file_id] …

Flushes any outstanding data in the operating system buffers for the file specified, forcing it to be written to disk.

file_id

The identifier of the file to be flushed. Each file_id can be that of a Sculptor keyed file or an SQL file. It must be open.


NOTES

  • The Sculptor system variable sys.AutoFlush controls flushing to the screen. It is not related to this command.

  • The flush #command flushes pending output to a specified channel.

  • The flushall command flushes all sequential files and all Sculptor keyed files to disk.


EXAMPLE

flush TempFile