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



I believe the record lock wait time is 60 seconds, so you may want to perform an OVRBDF first.

ovrdbf file(somefile) waitrcd(*immed) opnscope(*job)

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of James H. H. Lampert
Sent: Wednesday, May 8, 2019 1:41 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [External] Re: Please refresh my memory: can I, in RPG, have a file read fail immediately and recoverably on a locked record?

On 5/8/19, 11:12 AM, Mark Waterbury wrote:
See:https://www.itjungle.com/2009/01/07/fhg010709-story01/

That approach works. Thanks.

--
JHHL

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Frpg400-l&amp;data=02%7C01%7C%7Cdf0114709367446f27a308d6d3e4c5e2%7C0091f9018eb949ada4133bd58cb1aff0%7C0%7C1%7C636929376861930893&amp;sdata=aL6psaHYyi3cWTnSJv%2B7p%2FkqlOdrUOl3xCjdlFGy9WI%3D&amp;reserved=0
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Frpg400-l&amp;data=02%7C01%7C%7Cdf0114709367446f27a308d6d3e4c5e2%7C0091f9018eb949ada4133bd58cb1aff0%7C0%7C1%7C636929376861930893&amp;sdata=WthoozHd0jEJ8mnE8SmFCBh4q%2FwtEW1dXUXc5tOxguA%3D&amp;reserved=0.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com&amp;data=02%7C01%7C%7Cdf0114709367446f27a308d6d3e4c5e2%7C0091f9018eb949ada4133bd58cb1aff0%7C0%7C1%7C636929376861930893&amp;sdata=7KHsHHsXtLwxQjt4MZGIgyvJWtP3YYkCVI0%2BCg0aMmo%3D&amp;reserved=0


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.