You can do a WRKOBJLCK if you just want to see for yourself whos locking
an object.

If your goal is to have the program find out whos locking it, the
List Object Locks (QWCLOBJL) API  can give you a list of users locking
an object.

http://publib.boulder.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qwclobjl.htm


On Mon, 14 Oct 2002, JJW wrote:

> Good Monday Morning!!!
>
> When I run rpg-ile pgm A and try to lock my data area I
> get %status 00431.  Positions 91-170 of the pgm SDS tells
> me "Lock operation for object SF8888DA not satisfied".
>  From within pgm A is there a way to determine what job
> has the data area locked?
>
> TIA!!!
>
> John



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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