|
Hi Murali, Your mention of EOFDLY is the way to make a program wait at EOF for new records. Prompt OVRDBF, position the cursor on the EOFDLY parm, press F1, and read all about it. There are two things to consider using this technique -- a way to end gracefully (mentioned in the help text), and how long a delay to use (a short delay processes new records quickly, but uses more processing time because it "wakes up" more often). hth, Peter Dow Dow Software Services, Inc. 909 793-9050 voice 909 522-3214 cellular 909 793-4480 fax ----- Original Message ----- From: "MURALI DHAR" <nmuralidhar@rediffmail.com> Sent: Monday, December 02, 2002 9:03 AM Subject: I want the system to hold my program until more data arrives......... > Iam just reading "pf" in RPG..Occassionally,instead of telling the > program there is no more data,I want the system to hold my program > until more data arrives in the file.when the more data arrives in > the file,the program can read the newly arrived records..how can i > do this type of processing in RPG....In CL i guess i can mention > EOFDLY parameter on OVRDBF.....
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.