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




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

Follow-Ups:

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.