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



DEPENDS, YMMV, etc...

However, we had a gent here who did the time trials, and even though it 
was a single row fetch, the sql was faster.  Which rather stunned him. 
However he felt that the personal option of "...wherever it makes sense" 
overrode the performance.  That's why I think that clause is based on a 
personal bias, and not logic.

What would have been nice, is the record format level check independence. 
This will be quite important to us and we will be supporting several 
releases of a particular vendors package on the same partition.  And of 
course, they modified the length of key fields, etc.  This would make 
little utility programs like
select idesc into :itemdesc from iim where iprod=:WorkVar
work with a program in ROUTINES either of the following library lists:

CMP01DATA
CMP01PGM
ROUTINES
REL2PGMS

CMP02DATA
CMP02PGM
ROUTINES
REL1PGMS

pretending that RELxPGMS is the vendor supplied program library and CMP## 
is the various companies supported in this partition.

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 





Rich Duzenbury <rduz-midrange@xxxxxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
08/18/2003 11:15 AM
Please respond to RPG programming on the AS400 / iSeries
 
        To:     RPG programming on the AS400 / iSeries 
<rpg400-l@xxxxxxxxxxxx>
        cc: 
        Fax to: 
        Subject:        Re: SQL Performance (was Multiply Versus Divide)



>Those same won't change from RPG file handling to SQL
>handling to shave a minute off that same process, even if they're the 
ones
>that ran the time trials and found the better performance did come from
>SQL.

Is SQL generally faster than RPG file handling?

If so, I'm intrigued.

However, I've seen so many complaints about the integration of SQL and RPG 

that I've been reluctant to give it a try.  Also, it seems that in the 
past 
that IBM was charging for the SQL tools, and thus many of my customers do 
not have it on their systems.  Has this also been rectified in the newer 
releases?

Regards,
Rich 

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.