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



Thanks for all the input.
Another senior moment was cloudy my thinking.

In my current WRKWCH, I only monitor for a CPF2113,
I need to add CPF3202 to the WRKWCH, should solve the issue.

Then TAATOOLS/CVTLIBLCK2 LIB(BLPINS) OUTLIB(QTEMP) will give me a list of the locks.

ENDJOB JOB(&OLJNBR/&OLUSER/&OLJNAM) OPTION(*IMMED) +
/* end job with locks */

Message ID . . . . . . : CPF2113 Severity . . . . . . . : 40
Message type . . . . . : Information
Date sent . . . . . . : 07/08/15 Time sent . . . . . . : 16:03:46

Message . . . . : Cannot allocate library BLPINSN.

Message ID . . . . . . : CPF3202 Severity . . . . . . . : 40
Message type . . . . . : Information
Date sent . . . . . . : 07/08/15 Time sent . . . . . . : 16:10:16

Message . . . . : File YWWDDR# in library BLPINS in use.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Thursday, August 06, 2015 11:03 AM
To: Midrange Systems Technical Discussion
Subject: RE: Method to determine if a library is in use

Before running DLTLIB, try CLRLIB.

Unless you want a really clean clear. Then you can
1 - list all objects in the library
2 - check each item in the list for a lock.

You can use SQL to get a list of objects with QSYS2.OBJECT_STATISTICS. Or use an API.


Rob Berendt

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.