×

Good News Everybody!

A new search engine is coming soon.

As a stop gap measure, we are using Google's custom search engine service.




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




--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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