Dave,

I have to agree with you on the need for JDE World to be updated to ILE, but I
don't see it happening in my lifetime (but then my kids think I am older than
dirt).

Thanks for the tip on the indexes.  I found a News/400 article from Dec 97 by
Julian Monypenny that takes it a step farther (I think).  It recommends that in
ILE you define array indexes as Integers.  We tested this in a dummy program and
proved that it does improve performance.  To do this would require JDE program
code changes, something we do (too much) but would like to put off as long as
possible in this case.

Phil


   Message: 5
   From: David.X.Kahn@gsk.com
   Subject: Re: Optimizing RPG programs
   To: midrange-l@midrange.com
   Date: Wed, 17 Oct 2001 14:12:40 +0100
   Reply-To: midrange-l@midrange.com

   Phil wrote:

   > The RPG program was written several years ago and is still coded in OPM.

   In my view JDE World is long overdue a conversion to ILE.

   > This particular program does a lot of heavy array manipulation,

   Does it use the standard I00DSINX or worse, performance wise, I00DSBIN copy
   member for index definitions? You might get a further performance boost by
   removing these copies and instead defining packed indices of the same size.
   To do this you could create new copy members C55DSINX and C55DSBIN to be
   included somewhere within subroutine S999. They might look like this:

   <snip>

   Dave...




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.