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



That would do it.

SHARE(*YES) would help since you're returning with *LR=ON. But you can't
simply turn it on without testing it like any other change.

There isn't a magic wand, a poorly performing application is going to need
changes in order to perform better.

Charles

On Wed, Nov 12, 2008 at 2:26 PM, Marvin Radding <
marvin.radding@xxxxxxxxxxxxxxxxxxxxx> wrote:

John,

Yes, all RPG programs end with *INLR = *on. And it would be 52,000 times
because the same pricing routines are called twice for each record.

The pricing routine is a very complex system and I will not be allowed to
modify it unless I can justify it and then Q/A has to have the time to test
it, which I am told could be a 6 month process. So I am trying to find a way
to make it run faster without modifying the one set of programs that makes
our business profitable.

Thanks,

Marvin


------------------------------

message: 8
date: Wed, 12 Nov 2008 11:14:16 -0800
from: "John Earl" <john.earl@xxxxxxxxxxxxx>
subject: RE: Question about reducing program start overhead

Marvin,

You didn't reference it, so I have to ask about the most obvious
performance tax - Are you opening and closing these programs every time
you call them, or are they left open at exit?

Leaving the programs open at exit will spare you the cost of program
initialization 26000 times.

jte

--
John Earl
The PowerTech Group, Inc.
Direct: 253-479-1408
Mobile: 206-669-3336

www.powertech.com

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