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



Ah, gotcha.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



CRPence <CRPbottle@xxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
05/27/2011 06:57 PM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
Re: insert code was(Re: Embedded SQL - performance question)






On 27-May-2011 11:39 , Bryce Martin wrote:
"Not to dismiss however that the use of SQL for INSERT may have
allowed for more efficiency in a coding task, esp. had the RLA update
logic already existed."

I don't really understand what you're saying here.... Not sure what
coding efficiency you could be referring to...

Should have been left unstated... kind of an apology for any SQL but
non-RPG folks that might have added that code. While more efficient to
be processed as RLA, in my experience those who know SQL tend to be
quicker [i.e. more efficient] at adding SQL to an RPG source than making
changes so the native I\O happens in the RPG regardless that the RPG
might already be doing native I\O. And an issue from the another angle,
in my experience many who know RPG but not so much the SQL often leave
native I\O declarations [the F-specs] in the program even though they
had changed to use nothing but SQL, and for lack of USROPN, the file
gets opened every time the program runs.

Regards, Chuck

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.