|
Paul, I appreciate the suggestion, but I'm looking for an "in-house" solution where the only costs involved are my time. Thanks, Frank pnelson@xxxxxxxxxx@midrange.com on 09/24/2004 10:24:02 AM 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 Frank, Have you looked at the email report server from RJS? The definitions of who gets which report are contained in a database table. Real simple to set up. Paul Nelson Arbor Solutions, Inc. 708-670-6978 Cell pnelson@xxxxxxxxxx fkany@xxxxxxxxxxxxxxxxxx Sent by: midrange-l-bounces+pnelson=arbsol.com@xxxxxxxxxxxx 09/24/2004 10:18 AM Please respond to Midrange Systems Technical Discussion To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc: Subject: RE: Not authorized to spooled file - CPF3492 Here is a more detailed description of what I'm trying to accomplish. (OBJECTIVE) - Email any spool file regardless of what outq it was created in and who created it without making PERMANENT changes to the OUTQ attributes. (TASKS) - I compiled the CL program with USRPRF(*OWNER). The owner for the CL program object is QPGMR. I checked to make sure QPGMR has *SPLCTL and it does. Here's the area of the CL program where I get the errors: CHGOUTQ OUTQ(&SOMEOUTQ) AUTCHK(*DTAAUT) CPYSPLF FILE(&SPOOLFILE) TOFILE(QTEMP/WORKFILE) + JOB(&JOBNUMB/&JOBUSER/&JOBNAME) + SPLNBR(&SPLFNUMB) CHGOUTQ OUTQ(&SOMEOUTQ) AUTCHK(*OWNER) (ERRORS) - When I run the program under a test user profile, "Not authorized to use object SOMEOUTQ" error occurs when the CHGOUTQ OUTQ(&SOMEOUTQ) AUTCHK(*DTAAUT) is executed. When I remove the CHGOUTQ command the CL just tries to execute the CPYSPLF command, the "Not authorized to spooled file" error occurs. Am I missing anything? Please let me know if you need to know more information. TIA, Frank
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.