Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

FLUSH statement

The FLUSH statement can be used to flush one or all files.

Read syntax diagramSkip visual syntax diagram>>-FLUSH--+-FILE(file-reference)-+--;--------------------------><
          '-FILE(*)--------------'
 
FILE
Specifies the name of the output file.

The FLUSH statement flushes the buffers associated with an open output file (or with all open output files if * is specified). This normally happens when the file is closed or the program ends, but the FLUSH statement ensures the buffers are flushed before any other processing occurs.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)