Perhaps I should have said
CHGPFTRG ... STATE(*DISABLED)
instead of just
CHGPFTRG STATE(*DISABLED)

Talk about nesting...

select *
from qsys2.views
where table_name like '%AUTHORITY%';

And basically authority_collection is a view over some table functions.

select ... (first time I've ever seen LAND (LogicalAND) used in
production)
FROM TABLE (QSYS2.OBJECT_STATISTICS('QSYS', 'USRPRF','*ALL')) AS A, TABLE
(QSYS2.AUTHORITY_COLLECTION(A.OBJNAME)) AS B LEFT OUTER JOIN TABLE
(QSYS2.OBJECT_STATISTICS(B.SYSTEM_OBJECT_SCHEMA, B.SYSTEM_OBJECT_TYPE,
B.SYSTEM_OBJECT_NAME)) AS C ON B.SYSTEM_OBJECT_TYPE = C.OBJTYPE AND
B.SYSTEM_OBJECT_NAME = C.OBJNAME

You might want to ask Help Systems for suggestions.


Rob Berendt

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