FWIW, do all this in one REXX program.

Dave Odom

"Gary Monnier" <gary.monnier@xxxxxxxxxxxxx> 6/12/2007 12:57 >>>
Try this write a CL program to do the following.

1. DSPOBJD to an outfile.
2. Read the outfile.
3. DSPOBJAUT to an outfile.
4. Call another CL program that scans the outfile from 3 for user
ODBCUSER.
5. If no ODBCUSER or the incorrect authority send yourself a message.

-----Original Message-----
From: security400-bounces+gary.monnier=powertech.com@xxxxxxxxxxxx
[mailto:security400-bounces+gary.monnier=powertech.com@xxxxxxxxxxxx] On
Behalf Of Burns, Bryan
Sent: Tuesday, June 12, 2007 12:36 PM
To: security400@xxxxxxxxxxxx
Subject: [Security400] Private authority report


I performed a GRTOBJAUT OBJ(AMFLIBE/*ALL) OBJTYPE(*FILE) USER(ODBCUSER)
AUT(*USE) and the joblog shows "Authority given to 5886 objects. Not
given to 49 objects". How can I get a list of just the 49 files in
library AMFLIBE that weren't given authority?

The files for most of the 5886 objects that were given authority look
like this:

User Authority
*PUBLIC *CHANGE
AMAPICS *ALL
ODBCUSER *USE

I need a list of just the 49 files in library AMFLIBE in which ODBCUSER
has no private authority.

Bryan Burns
IBM Certified Specialist - iSeries System Command Operations V5R2
M.I.S. Department
ECHO, Incorporated
www.echo-usa.com


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