× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 26-Jul-2016 09:47 -0500, Tim Bronski wrote:
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?

In what sense? From a perspective of viewing the job from WRKJOB OPTION(*PGMSTK)?

Generally knowing of adoption is not relevant outside the program itself; i.e. the current program /knows/ if the thread is adopting, based on the effects of the [in]ability to resolve to an object that requires the adopted authority. That is to suggest, either the program fails with an exception x0A01 [MCH1001] per authority is unavailable, else the program gains privilege via the adopted authority.

While running with adopted authority, the effect of the current program being able to know of adoption, can be seen visually represented with the special value of USER(*ADOPT), by requesting Display Object Authority (DSPOBJAUT).


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.