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



The adopted profile does not have management authority required to either
CRTDUPOBJ or CLRPFM or CPYF MBROPT(*REPLACE).

John Brandt
iStudio400.com

-----Original Message-----
From: Malchow, Grizzly [mailto:GMalchow@xxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, December 18, 2003 1:00 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Authority issue with accessing a file


I have a CL program that calls a prompt program and then submits a print
program. I have a file that is used in both programs. I'll call it
FILEA. FILEA is used in the prompt program to check that the user
entered valid selection criteria. The print program uses the file to
print values that match what was entered in the prompt program. The
problem I'm running into is odd to me. When the print program is
submitted to batch I receive the following error: 

Error message CPF4104 appeared during OPEN for file FILEA

The job log states the following:

User not authorized to operation on file FILEA in *LIBL, member, device,
or program device *N.                                                  

 

I changed the CL program to run the print program interactively and I
didn't receive any errors. The user profile using the file has *ALL
object authority, but it is adopted when they sign into our ERP package.
I'm guessing that the authority isn't being included when the job is
submitted, but I'm not sure how to verify that. 

Has anyone encountered this problem before? 

 

 

 

 

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.550 / Virus Database: 342 - Release Date: 12/9/03
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.552 / Virus Database: 344 - Release Date: 12/15/03
 

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