|
Jeff Carey wrote:
> Is there an easy way of finding all programs in all user libraries that use
> adopted authority? The DSPPGM command doesn't allow for *ALL and worse,
> doesn't output to a file.
>
Yes and no. The DSPPGMADP can show programs that adopt a specific user profile,
as in compiled *OWNER and can put it to a file. Otherwise, its into the APIs
for
you. Check on QCLRPGMI, retreive program information. The PGMI0100 format has
the information that you are looking for. Of course, it isn't a file, but
because it uses a receiver variable, you could code this in a CL program.
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---
--
===========================================================
R. Bruce Hoffman, Jr. -- IBM Certified AS/400 Administrator
-- The sum of all human knowledge is a fixed constant.
It's the population that keeps growing!
begin: vcard fn: R. Bruce Hoffman, Jr. n: ;R. Bruce Hoffman, Jr. adr: 991 Lucon Road;;;Schwenksville;PA;19473;USA email;internet: rbruceh@ibm.net title: Independant AS/400 Consultant tel;work: 610-222-9707 tel;fax: 610-222-9717 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.