Problem solve Get help with specific problems with your technologies, process and projects.

Make a Physical File work like a Data Queue

An EOFDLY parameter exists in the OVRDBF command.

A little know capability exists in the i-Series data management capabilities. In the OVRDBF command, an EOFDLY...

parameter exists. This parameter specifies the number of seconds of delay before trying to read additional records when end of file is reached. This delay is used to allow other jobs an opportunity to add records to the file, and have the new records processed without having to start the job again. When the delay time ends, the job is made active, and data management determines whether any new records were added. If no new records were added, the job waits for another time delay without informing the application program. When a number of seconds is given, no end of file occurs on the given database file until an End Job (ENDJOB) command or forced end of data (FEOD) occurs.


This was last published in August 2001

Dig Deeper on iSeries CL programming

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.