Force-end-of-data considerations

Learn what force-end-of-data function does and when it is used.

The force-end-of-data function is valid for both input and output. The force-end-of-data function for an output file forces the system to write all buffered records to tape. When this occurs, the system might write a short block on the volume. The force-end-of-data function for an input file positions the tape at the last volume for the file and signals end-of-file to the using program.