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



One thing I commonly see that could explain this poor perfomance in native
IO is the use of READE in the loop.  Replacing a READE with READ and a
following test for key value breaks can speed these process up..   Make sure
to specify blocking...

If properly constructed and optimized, I would expect both to perform
similarly.

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-297-2863 or ext. 1863



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Yivi
Sent: Friday, November 18, 2005 8:36 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: crazy embedded sql performance


>
> I'd expect results such as yours if the procedure is summing or counting
> detail records.

That's the case. The program is a report that sums up sales in the last
month and compares them with sales for the same products in the preceding
year.
 That makes me very happy. I am usually still more comfortable with SQL than
with classic RPG I/O, and if besides prettier code I'll gain faster
execution, I think everybody will be happy around here.
 Thanks a lot.
 Regads,
 I.-

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.