To terminate one or all input files:
with LUN: logical unit number if zero: all FZ input files options: character string, individual characters select options: main: T terminate: - print file statistics (unless done) - drop FZ control-bank N continue input from a new file to be connected by the user to LUN after this call: - print file statistics (unless done) C continue on the next file of the same stream: - print file statistics (unless done) - step over the system EOF as required on some machines I input again, to re-read the same file: - print file statistics (unless done) - rewind O switch to output, to permit writing on a file positioned by reading: - print file statistics (unless done) - change status to 'output' none print file statistics only over-ruling: T -> N -> C -> I -> O variants: R execute REWIND function, only with T or N U execute UNLOAD function, only with T or N (no action yet) X execute CLOSE function, only with T or N Q quiet, suppress printing of file statistics 0,1,2 or 3 only with O: change the NEOF parameter of FZFILE for writing
Both FZENDI and FZENDO also load the file statistics
into the Common /FZSTAT/
just like the routine FZINFO,
to provide the final statistics,
which are not yet available just before FZENDO,
and maybe no longer available just after FZENDO.