If you succeed to get all of the files' authorities into a single table,
then the following SQL will list only those objects with the incorrect
authority. Suppose the authority table is "dspusraut".

SELECT u.OANAME, u.OALIB, u.OATYPE
FROM dspusraut u
WHERE not exists (
SELECT x.OANAME
FROM dspusraut x
WHERE u.oaname=x.oaname and u.oalib=x.OALIB and u.OATYPE=
x.oatype
and x.OAUSR = 'ODBCUSR')
GROUP BY u.OANAME, u.OALIB, u.OATYPE


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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