In a single page subfile all page up/down requests must be handled by program logic.

In an expandable subfile once a record has been added to the subfile the system will take care of page up/down requests. The program only has to worry about adding additional records (if there are any) to the end of the subfile when a page request attempts to go beyond the number of records currently loaded.

Single page subfiles have no maximum size since it is up to the program to control what data is displayed. Expandable subfiles are limited to 9,999 records - unless only used with an Open Access handler then the limit s much higher.

On Nov 24, 2019, at 3:09 PM, techie21 IT <techiei876@xxxxxxxxx> wrote:

---------- Forwarded message ---------
From: techie21 IT <techiei876@xxxxxxxxx>
Date: Mon, Nov 25, 2019 at 1:35 AM
Subject: main difference between expandable and singlepage subfile
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>


What is main difference between expandable and singlepage subfile ?

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support by shopping at with our affiliate link:

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.