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



"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 10/18/2018 06:29:09
AM:
----- Message from Buck Calabro <kc2hiz@xxxxxxxxx> on Thu, 18 Oct
2018 06:28:45 -0400 -----

To:

"RPG programming on the IBM i (AS/400 and iSeries)"
<rpg400-l@xxxxxxxxxxxx>

Subject:

Re: Exclusive locks at the record level?

On Thu, 18 Oct 2018 at 01:14, Roger Harman <roger.harman@xxxxxxxxxxx>
wrote:

Another process trying to read that record will wait until the
timeout (WAITRCD value on the file) and then throw a message. Of
course, you can monitor for that in the program.

Amplifying Roger's comment, I don't believe there is a 'read next
unlocked' operation in RPG RLA.

From the RPG Reference:

---------------------------------------------

If the file from which you are reading is an update disk file, you can
specify an N operation extender to
indicate that no lock should be placed on the record when it is read. See
the Rational Development Studio
for i: ILE RPG Programmer's Guide for more information.

---------------------------------------------

Michael Quigley
Computer Services
The Way International

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.