You could also use the QUSRJOBI API, some formats (0300/0400, I think) have
both, the user name and the submitter's user name.
Regards,
Luis
Sent from my Moto G phone. Please excuse my brevity.
On Jul 26, 2016 11:39, "Monnier, Gary" <Gary.Monnier@xxxxxxxxx> wrote:
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.
--
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.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.