You could use DSPOBJD to an output file then use that file to drive a CL or RPG program which would call the Retrieve Program Information (QCLRPGMI) API for each object looking for those values.
Alternatively if you have a short list of the user profiles in question you could use the DSPPGMADP (Display Program Adopt) command for each of the profiles to find the objects (programs, SQL packages and service programs) that adopt authority with those profiles.
Principal Programmer Analyst
IT Supply Chain/Replenishment
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of fbocch2595@xxxxxxx
Sent: Monday, June 20, 2011 11:46 AM
Subject: program adoption reporting/dsppgm
Hi Folks, I want to know these values for pgm's;
Does anyone have any clp's that will do this for all pgm's? I'm able to use dsppgm but only to report on 1 pgm at a time. Ultimately, I'd like to know where USRPRF = *OWNER and USEADPAUT = *YES.
This mailing list archive is Copyright 1997-2019 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