× 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.



Thanks for the response. The user can now use the menus with the interactive RPG/CLs programs.
But now I am having problems with submitted jobs. I am getting the error the user is not authorized to the file. Look below. The program CL and RPG have both usrprf(*OWNER). Is there a parameter I am missing in the SBMJOB or create program command?

Additional Message Information
Message ID . . . . . . : RNQ1216 Severity . . . . . . . : 99 Message type . . . . . : Inquiry Date sent . . . . . . : 04/28/10 Time sent . . . . . . : 16:49:11
Message . . . . : Error message CPF4104 appeared during OPEN for file ....
(C S D F).
Simon Coulter wrote:
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 thread ...

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.