|
would you be better served using a dataq? --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 07/01/05 12:45:50 To: RPG programming on the AS400 / iSeries Subject: Re: EOFDLY problem Martin If i remove my OVRDBF then whole purpose will go away. my program is like driver. it should be active everytime and should wait for new records entry in file. the program works fine all other condition but does not work if the file empty at the time of program execution.(DOW llop works if file is not empty) Thanks & regards Mahesh Pawar Booth Martin <booth@xxxxxxxxxxxx> wrote: What happens if you remove the OVRDBF? The program should work ok then. Would it help you if your first step was to see if there are records in the file? The INFDS will tell you if there are records in the file, or not. --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 07/01/05 12:02:33 To: rpg400-l@xxxxxxxxxxxx Subject: EOFDLY problem I am using EOFDLY option in OVRDBF of PF and calling RPG program to process the file. It?s works fine whenever there is at least one records in file. But if my file is empty. Program doesn?t wait for new records. I was using DOWEQ loop for processing the file. So I changed program to process with DOU loop. Now program is waiting for next record (even the file empty in beginning) I have added new records to file but program does not process new records. Please advice me ASAP. Tommy I hope we can answer my query Thank in advance Thanks & Regards Mahesh Pawar __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. .. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. .
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.