× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Dang it! OVRDBF QADSPOBJ ... rather than QSDSPOBJ.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"The holy passion of friendship is so sweet and steady and loyal and
enduring in nature that it will last through a whole lifetime, if not asked
to lend money."
-- Mark Twain

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Dennis Lovelady
Sent: Wednesday, June 16, 2010 1:46 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Checking for objects that are NOT secured by an
authorization list

As a disclaimer, this is entered directly into this e-mail, and
therefore
untested. It should be fast and easy. I kept the DSPOBJD out of the
CL
because that is the one variable you might want to change; it's a KISS
approach.

DSPOBJD ... OUTPUT(*OUTFILE) OUTFILE(QTEMP/MYOBJLIST)

Run the following CL Program:

DCLF QADSPOBJ
OVRDBF QSDSPOBJ QTEMP/MYOBJLIST
LOOP:
RCVF
MONMSG CPF0864 EXEC(GOTO PART2)
DSPOBJAUT &ODLBNM/&ODOBNM &ODOBTP OUTPUT(*OUTFILE) +
OUTFILE(QTEMP/AUTS) OUTMBR(AUTS *ADD)
GOTO LOOP

PART2:
CPYF QTEMP/AUTS QTEMP/NOAUTL +
CRTFILE(*YES) MBROPT(*REPLACE)
INCREL((*IF OAANAM *EQ '*NONE'))
RETURN
ENDPGM

---

Now you will have a file (QTEMP/NOAUTL) that contains only objects that
are
not secured by any AUTL


Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Millions long for immortality who do not know what to do with
themselves on
a rainy Sunday afternoon."
-- Susan Ertz


I looking for a fast and easy way to find objects in user libraries
that are NOT secured by an authorization list. Anyone got an idea?

Thanks

Kat Kruse
Systems Support Engineer, Staff
Qualcomm, Inc.
858-845-0014

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.