|
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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.