Take a look at Retrieve Lock Information (QWCRLCKI) API -

Gary Monnier

On Mon, Jan 28, 2019 at 10:13 AM Sam_L <lennon_s_j@xxxxxxxxxxx> wrote:

Off the top of my head...

Maybe ALCOBJ *EXCL and if it fails it is in use. (Don't forget to DLCOBJ
if it succeeds.)

Or maybe the APIs on object locking may be needed.


On 1/28/2019 12:38 PM, JRusling@xxxxxxxxxxx
From pgmA i want to test if pgmB's display file pgmBD is in use.

In my copius notes i've saved throughout the years I cannot find anything
about this.

Nor can i find anything searching rpg400-l or google.

Anyone have a technique or code for doing this?

Thanks for any help,

<br />
The information in this email is confidential and may be legally
It is intended solely for the addressee. Access to this email by anyone
else is
unauthorized. If you are not the intended recipient, any disclosure,
distribution or any action taken or omitted to be taken in reliance on
it, is
prohibited and may be unlawful.

This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxx for any subscription related

Help support midrange.com by shopping at amazon.com with our affiliate

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].