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



I would suggest using embedded SQL, instead of OPNQRYF.

On 1/19/2011 2:00 PM, Andy Devries wrote:
Thanks Nathan - I'm overwhelmed with the response. I've tried the different SFLSIZ configurations suggested by several people with the same results. It seems to be something other than how the subfile is set up (others have made this same comment). I took the program and stripped all the separate reads to other files (6 different ones) and reran the program. The response time seems to improve to acceptable times. I will probably rewrite the whole subroutine using OPNQRYF to see if I can access the other files quicker. I will update the post once I have done this.
Thanks everyone!
Andy

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Nathan Andelin
Sent: Wednesday, January 19, 2011 8:24 AM
To: RPG programming on the IBM i / System i
Subject: Re: Subfile initial load very slow

Comment out the single line of code where the subfile write is evoked. If it's
still slow, then you at least know that it has nothing to do with the subfile.

-Nathan.





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.