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



Mike,

LR is set on before the program gets terminated. So, the only possible
reason I can see is the records being held in memory for a short period of
time.
Is there any option to rerieve the records much faster when the RPG program
is called for the first time?
***Pl. see the Original Message below***

Ray

>From: Mike.Collins@syan.co.uk
>Reply-To: midrange-l@midrange.com
>To: midrange-l@midrange.com
>Subject: Re: Different processing times...why?
>Date: Mon, 15 Jul 2002 09:29:05 +0100
>
>
>Does the program terminate with LR on? Sounds to me like it doesn't, so the
>first time all the files are opened, whereas any other times they are
>already open.

We have an RPG program that reads approximately 4500 records from
file A and reads matching records in file B using account number.
File B has a total of 2 million records.
It takes about 60 to 70 seconds to complete the processing when the program
is called for the first time. But it takes only 3 to 4 seconds to complete
the processing, when the program is called again 2nd or 3rd or 4th or
5th...time. Processing time is 60 to 70 seconds only for the first call.
This happens again if the session is idle for 20 minutes or more. We
couldn't find out why is this processing time more only for the first call
to the RPG program. We verified and found that this problem exist
anytime, irrespective of the peak/non-peak hours of the day.

Any help is greatly appreciated.

Ray

>_______________________________________________
>This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
>To post a message email: MIDRANGE-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
>or email: MIDRANGE-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/midrange-l.






_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.