adding for searching all libs(tested on V7.4):

with libs (ln) as (select objname
from table (qsys2.object_statistics('*ALLSIMPLE', 'LIB')))
select ln as library, objname, objtype, objattribute, objsize, objcreated, last_used_timestamp, objowner, objdefiner, objtext
from libs, lateral (select *
from table (qsys2.object_statistics(ln, '*USRIDX *PDFMAP *PSFCFG' )) ) ;

Bryan

DEnglander--- via MIDRANGE-L wrote on 9/13/2024 8:32 AM:
select objlib, objname, objtype, objattribute, objsize, objcreated,
last_used_timestamp, objowner, objdefiner, objtext
from table(object_statistics('QGPL', '*ALL')) where
objtype in('*USRIDX', '*PDFMAP', '*PSFCFG') or
objattribute in('USRIDX', 'PDFMAP', 'PSFCFG')



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.