× 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.



How you retrieve the data is one thing - but for an “overgrown” load all subfile replacement I would consider using a page-at-a-time subfile mapped to the content if a LikeRec array of the subfile record images. That gives you up to 16Mb of record storage (more if you go to terraspace). You get a number of benefits from this including an easy way to sort the subfile into any sequence you like without having to retrieve the data again. Filtering of display content is simple too.

Just a thought.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jan 30, 2015, at 1:28 PM, Dan <dan27649@xxxxxxxxx> wrote:

After about a 9 year hiatus from interactive app development, I started a
new job this week where I'm back into this.

Was given a project for an existing maintenance app that currently loads a
page at a time, adding to the subfile with each page down action, until it
hits the 9999 limit. Problem is, now we're starting to get transaction
data that exceeds 9999 records.

The new design I suggested is to redefine the subfile using SFLSIZ=SFLPAG,
and each paging action performs editing on the entire page of records, then
updates the table when there are no errors. The current app has a
"position-to" entry, and we need to be able to page both up and down from
that position.

SQL is not mandatory at this point, but I can see a potential future
benefit of being able to select certain records for display/maintenance.

I've searched for example templates, but the few I've found are for inquiry
only and not using SQL. Some websites linked in the archive are now
non-existent. If anyone knows where I can find a decent template, please
let me know.

TIA,
- Dan
--
This is the RPG programming on the IBM i (AS/400 and 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 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.