|
On 28/04/2010, at 6:47 AM, Jerry Adams wrote:
If USERA is running PGMA in LIBA (with adopted authority suitable for the file), and the file/table exists in LIBB (to which USERA is *Exclude), would the program be able to access the file?
As long as the owner of PGMA has suitable authority to the file in LIBB then yes.
Would a USROPN or a system-open make any difference?
No.
A comment on the previous appends: If you need to add an *EXCLUDE library to the library list then this must be done either in an adopting program or from a program that inherits authority from an adopting program higher in the stack. As I recall such a library cannot be specified in the user's sign-on job description because the initial library is built before the initial program is given control thus adopted authority is not yet in place.
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
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.