Delay end-of-file processing

When your program reaches the end of the data in a database file, the system normally signals your program that there is no more data to read. If you want the system to hold your program until more data arrives in the file, you can use the EOFDLY parameter to delay the end-of-file processing.

If you use the EOFDLY parameter on the Override with Database File (OVRDBF) command, the program can read the newly arrived records when more data arrives in the file.
Note: End-of-file delay should not be used for files that reuse deleted records.
Related concepts
Wait for more records when end of file is reached