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.
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.
This thread ...
Re: Method to determine if a library is in use, (continued)
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