|
Use DSPPGM to display the program in question's information.
Does the program show these settings?
User profile . . . . . . . . . . . . . . . . . : *OWNER
Use adopted authority . . . . . . . . . . . . : *YES
User Profile - Help
The value specified for the USRPRF option on the command used to create the program. This parameter indicates whether the program runs under the current user's user profile (*USER), or under both the current user's and the owner's user profile (*OWNER).
Use adopted authority - Help
The value specified for the USEADPAUT option on the command used to change the program. This parameter specifies whether program adopted authority from previous call levels is used (*YES) or not used (*NO) when this program is running.
If user profile is *OWNER you are adopting the program owner's authority.
If use adopted authority is *YES you are adopting the authority used by the invoking program/command.
Gary Monnier
IT Software Engineer CSM, CSPO
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tim Bronski
Sent: Tuesday, July 26, 2016 7:47 AM
To: Midrange Systems Technical Discussion
Subject: Adopted authority
Rather than hijack the current thread on authority adoption I'll start afresh...while we're on the topic does anyone know of a way to find out if the current program is working with adopted authority or would I have to walk the stack back?
Tim
--
Need sFTP or PGP? Download your native sFTP or OpenPGP solutions here:
www.arpeggiosoftware.com<http://www.arpeggiosoftware.com>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx<mailto: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<mailto:MIDRANGE-L-request@xxxxxxxxxxxx> Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx<mailto:support@xxxxxxxxxxxx> for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
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.