And this makes perfect sense!  People keep thinking of their 5250
application.  If I have my library list just right and my adopted authority
just right then this trigger behaves this way.  But folks - the trigger has
to work when some user - without a valid library list - or an existing
program stack - updates the data using UPDDTA, Excel, etc.  Which is why
some triggers hardcode libraries.  For example if I update FILEA and want
to log to FILEB when something happens, even if they update the data with
Excel - well let me tell you - excel has no easily maintainable library
list and the odds are high that you didn't store FILEB in QSYS.

Rob Berendt
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin

                    "Graap, Ken"
                    <>       To:     
"''" <>
                    Sent by:                  cc:     "''" 
                    midrange-l-admin@mi       Fax to:
                          Subject:     RE: Service program 
authority adoption

                    01/25/2002 11:53 AM
                    Please respond to

>>There are some exceptions that can be significant, like triggers,
>>which end adoption.
>I didn't know that.  I can understand a trigger not inheriting adopted
>authority from earlier in the stack but I doubt they stop the trigger
>itself from adopting authority via USRPRF(*OWNER).  Hmm, I can feel an
>investigation coming on -- it'll have to wait a bit though ... I'm busy!

Simon ...

It is my understanding after several discussions with IBM, that trigger
programs are treated as exit programs... at least from an authority
point of view. Therefore, adopted authority will not flow down to a trigger
program. You have to define it to adopt authority specifically.


Kenneth E. Graap
IBM Certified Specialist
AS/400e Professional System Administrator
NW Natural (Gas Services)
Phone: 503-226-4211 x5537
FAX:    603-849-0591

-----Original Message-----
From: Simon Coulter []
Sent: Thursday, January 24, 2002 7:38 PM
Subject: Re: Service program authority adoption
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email:
To subscribe, unsubscribe, or change list options,
or email:
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.