|
Scott made a good point about how he uses READC. Never, in a gazillion years, would I suggest his programming methods are anything but current and modern. Therefore I need to retract my comment. It was out of place. As to efficiency in programming... who cares about efficiency? We care about effectiveness, not efficiency. Programs using subfile and READC are user interface programs, where the importance is in ease of user use and future maintenance and understanding. Looping 500 or even 2500 times instead of 1 or 2 times is trivial and of no consequence. --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 08/15/05 07:45:47 To: RPG programming on the AS400 / iSeries Subject: RE: Force EOF in a Subfile >From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin >Do away with the use of readc. The experts say its deprecated now. Haven't heard. Do you know of any links of articles I can read? Why is it deprecated? Reading 2 records vs. 500 in a subfile seems be a lot of I/O savings, so I'd be curious how that would become inefficient compared to reading all the records in a subfile. -- 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.