× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Trevor, the very vast majority of the subfiles I have ever seen are under 1000 records, most of those are under 500. Yes, I have seen these page-at-a-time subfiles written for files that will never have more than 50 entries. Even large files that are filtered are generally filtered to sizes well below 500 records.

However, your point is well made. That is why I mentioned the %bif being for load-all subfiles only

.

Trevor Perry wrote:
Booth,

For the smarter programmers, the subfile is built one or three pages at a
time. In that case, the program does not have a copy of the entire 9,999
records. Which makes it difficult to sort when you only have a subset of the
entire thing.

Trevor


On 12/8/09 4:44 PM, "Booth Martin" <booth@xxxxxxxxxxxx> wrote:

Thats the part I did not understand.

The subfile is all ready written. It is a known block of data. There's
no need for any under the covers work or any connection to the data;
just process the existing data in the existing subfile. Sort the first
request ascending and any following requests in the opposite order.

Frankly it surprised me that someone didn't say this is a lunch time
sport for the people that are really good at %bifs.




DeLong, Eric wrote:
Hmm, maybe just allow an SQL statement to be associated with the SFL,
and allow OS400 to manage the paging through the result set?

-Eric DeLong




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.