This is my first time on this forum and have been amazed at the response. To answer your question, the based on file(s) are not the result of an OPNQRYF.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, January 19, 2011 4:39 AM
To: RPG programming on the IBM i / System i
Subject: Re: Subfile initial load very slow
Dumb question time...is the "primary" file used to load the subfile used
by an OPNQRYF in the CL before calling the RPG? If so it might be the
creating of a temporary access path that's the slow down on the initial
call?
Thanks,
Tommy Holden
From: "Mark Murphy/STAR BASE Consulting Inc." <mmurphy@xxxxxxxxxxxxxxx>
To: rpg400-l@xxxxxxxxxxxx
Date: 01/18/2011 04:51 PM
Subject: Re: Subfile initial load very slow
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Sounds like one of the top two answers to me as well. The other top
answer is to just load one page at a time and let the subfile expand as
the user presses page down. Neither are very hard to do. Not to be
confused with "Page at a Time" which Gary proposed but rightly said was a
big change. Page at a time does not use an extensible subfile which the
OP already said he has. Sounds like he is loading the whole subfile all
at once.
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----rpg400-l-bounces@xxxxxxxxxxxx wrote: -----
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
From: Nathan Andelin
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Date: 01/18/2011 05:37PM
Subject: Re: Subfile initial load very slow
From: "Wintermute, Sharon"
Do you understand that by the system having to reallocate the
subfile ...
That sounded like a plausible theory to me. I was wondering why nobody
else
responded to it. What gives?
-Nathan
As an Amazon Associate we earn from qualifying purchases.