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



- The problem of using sql for this task is that there is no way to
handle record lock.

If this is a one time, non critical fix program, I say go with SQL. If
this is on-going and critical process, you will have to put record lock
in consideration.



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: Thursday, June 21, 2007 1:35 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: SQL Mass Delete Vs. READ/DELETE
<snip>
I would disagree strongly with this statement. Using a loop with an
update file means that each record is read one record at a time, locked,
returned to the program, delete issued or locked must be released and
then repeated again.

Nothing takes more resources on an AS/400 than logical I/O and
especially when you have no buffering.

Huge amount of overhead.
</snip>


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.