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



You may also need to store an array or some other method to keep track of
selected records from the screens they roll off of. process the screen and
update the array, userspace or whatever you use to store the full subfile
and then load the next portion they need. When they are done just process
that screen into the array, and then process the requested action from the
array. Sorry I don't have any examples of doing this. I never load more
than 9999 records at a time. I do think with everything else IBM is doing
for RPG expanding the max subfile size to 99999 shouldn't be too difficult
and since it is larger would not cause compatibility issues with existing
code.




Alan Shore <AlanShore@xxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
09/07/2007 03:46 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: RPGLE DDS Subfile out of 9999 records limit






Hi J Z
this can still be accomplished with a page at a time subfile. The only
difference (ONLY!!!) is that YOU code the program to handle the page-up,
page down and position to

Another web page that may be of interest is
http://www.itjungle.com/mpo/mpo060503-story04.html



Alan Shore

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
"If you're going through Hell, keep going" - Winston Churchill

rpg400-l-bounces@xxxxxxxxxxxx wrote on 09/07/2007 04:33:51 PM:

Hi Alan

Sounds stupid right...?! I know.

It is because the user have no idea which one they want to
select/change,
so
they insist to have the whole list!


On 9/7/07, Alan Shore <AlanShore@xxxxxxxx> wrote:

Hi J Z
I'm curious as to why you state that you HAVE to load ALL 30,000
records
into the subfile.
Answering this question may present an opening for people to give you
different suggestions



Alan Shore

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
"If you're going through Hell, keep going" - Winston Churchill

rpg400-l-bounces@xxxxxxxxxxxx wrote on 09/07/2007 04:24:44 PM:

Hi,

As you know that IBM restricted to the 9,999 records limit when load
a
subfile, and we can just load one page at a time to not limited by
the
number of records.

But I have a situation that need to load all data (almost 30, 000
records)
into subfiles, and allow user to do page down, page up to
select/change
multiple records. I can do the page down & page up, but how can I
get
my
selected data 'cause the original SFLRCDNBR can only up to 9999 ?

Any hints, suggestions or sample codes would be really appreciated!

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

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