Paul:

Note also that OS/400 and i5/OS (IBM i) has provided the ability to have libraries on the library list without locking them for many years now, since V5R1 ... when the (then new) system value QLIBLCKLVL was introduced.

Issue DSPSYSVAL QLIBLCKLVL and see what your system is set to... also you can press F1=Help and read about that system value.

HTH,

Mark S. Waterbury

> On 8/6/2015 9:11 AM, Steinmetz, Paul wrote:
I have a utility that checks if an app is use by doing a WRKOBJLCK OBJ(XXX) OBJTYPE(*LIB).

I recently had this fail.
One app addlible XXX.
Opens files in XXX
Execute a process, finish.
Rmvlible XXX.

WRKOBJLCK OBJ(XXX) OBJTYPE(*LIB) shows no locks.
But within the XXX library, there were object locks remaining.

Never realized you could have object locks and the library containing the objects is no longer is the library list.

Searching for better method to determine object locks since WRKOBJLCK OBJ(XXX) OBJTYPE(*LIB) is no longer valid.

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx
http://www.pencor.com/





This thread ...

Replies:

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

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