|
Try compiling the program to use adopted authority (User profile . . . *OWNER) then set the program owner to a profile with *JOBCTL or *SPLCTL authority. If tighter security is required you can then set up an authority list for the program or the profile. Regards, Scott Ingvaldson iSeries System Administrator GuideOne Insurance Group -----Original Message----- date: Thu, 23 Sep 2004 14:10:22 -0500 from: fkany@xxxxxxxxxxxxxxxxxx subject: Re: Not authorized to spooled file - CPF3492 I have the authority to use the commands below, but our users do not. I'm writing an application that will allow a user to email another users spool file. Is there a way to temporarily grant the user enough authority to CPYSPLF each time they would like to email a spool file? Thanks, Frank rob@xxxxxxxxx@midrange.com on 09/23/2004 01:24:15 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc: Subject: Re: Not authorized to spooled file - CPF3492 You didn't by chance do any unload/reload's where this used to work did you? ;-) CHGOUTQ OUTQ(xxxxx) AUTCHK(*DTAAUT) and either CHGOBJOWN OBJ(QUSRSYS/xxxxx) OBJTYPE(*OUTQ) NEWOWN(MYGROUP) or EDTOBJAUT OBJ(xxxxx) OBJTYPE(*OUTQ) Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com fkany@xxxxxxxxxxxxxxxxxx Sent by: midrange-l-bounces@xxxxxxxxxxxx 09/23/2004 12:40 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To MIDRANGE-L@xxxxxxxxxxxx cc Fax to Subject Not authorized to spooled file - CPF3492 Hello, I'm receiving the CPF3492(Not authorized to spooled file) error in a CLP program when I'm trying to use CPYSPLF on a spool file generated by another job and user. Is there anyway to get around this road block? Thanks, Frank This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. §§ 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
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.