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



In a similar situation I changed all the called programs to not set on LR and cut run time by 90%.
Depending upon how the programs are written, there can be side effects for this.

HTH,
Lance



"Marvin Radding" <marvin.radding@xxxxxxxxxxxxxxxxxxxxx> 11/12/2008 10:09 AM >>>
All,

I am assigned a project to attempt to improve the running time for the nightly process. So here is the situation: One program reviews over 26,000 records nightly by calling a pricing program that calls over 20 different RPG programs to determine a price for the customer. And this pricing program is called again to provide the customer with an alternate price should they choose to avoid the price increase. This program requires several hours each night to review these records.

My question has to do with a technique that I saw many years ago, when computers were slower. That technique was an attempt to make programs start faster by issuing an OPNDBF for every file that would be needed. I think the programmer thought that if the operating system already had the file open, when the RPG program attempted to open the file, there would be less overhead.

My question is, would issuing an OPNDBF for a file that is not flagged SHARE(*YES) reduce the overhead to start RPG programs? Would I need to make the files shared reduce the overhead?

Thanks ahead of time.

Marvin




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.