Skip to main content

FLUSH Force flush file updates

Format

FLUSH (chan[,ERR=stmtref])

Where:

chan

Channel or logical file number of the file to be flushed to disk.

stmtref

Program line number or statement label to which to transfer control.

Description

Use the FLUSH directive to force the system to write all updates to a file to disk. This directive can be used to make sure that critical updates are fully written to the file specified.

(The FLUSH directive was added in PxPlus v11.00.)