|
Good morning. As far as i know the only way to simulate a partial retrieval (first nn rows) is (at least up to V4R5) to write a UFD function that simply adds 1 to a counter. Your SQL will look like "Select counter, YrField from YrTable Where Counter < 10" Counter is an UserDefinedFunction. You may take a look at www.as400network.com, there sould be an article by P.Conte or M.Kravitz. Sincerely Domenico Finucci Fiditalia , Milano, 02- 4301-2494
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.