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



Compile program CLPGM2 using adopt authority of *OWNER .  Make sure that
owner of  *PGM CLPGM2 has proper authority to spool files.

Don Tully
Tully Consulting LLC
920 996-0448

<fkany@xxxxxxxxxxxxxxxxxx> wrote in message
news:OF8ADF8075.C1AAD8BE-ON86256F19.005F0B63@xxxxxxxxxxxxxxxxxxxxx
>
>
> Here's an overview of how I want the application to work:
>
> (SCREEN 1) - User enters in the user profile(s) and/or outq(s) for the
> spool files that want to see.  Press Enter to go to SCREEN 2.
>
> (SCREEN 2) - A screen similar to the WRKSPLF screen appears with extra
> options(email & fax).  The outq's that management doesn't want users to
see
> will not be displayed.  User selects a spool file that they would like to
> email and presses Enter to go to SCREEN 3.
>
> (SCREEN 3) - User enters in the email address's, email subject, & email
> body and presses enter to call CLPGM1.
>
> (CLPGM1) - SBMJOB CMD(CALL CLPGM2)
> USER(user-profile-setup-in-distribution-directory)
>
> (CLPGM2) - Receives parms needed to send the email.  Attempts to go
through
> the steps of emailing a spool file using SNDDST, but chokes on authority
> issues when trying to use CPYSPLF.
>
> I'm looking for a solution to get around the authority issue ONLY while
the
> program is running.  Any help is appreciated.
>
> Thanks,
>
> Frank
>
>
>
>
>
>
> rob@xxxxxxxxx@midrange.com on 09/24/2004
11:16:44 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
>
>
> How are you determining what spool file to send?
>
> If this is an interactive thing, use iSeries Navigator V5R3, select the
> spool file and use the option to convert to PDF and then email it.
>
> If this is a CL command to email a copy of it and it's called from the job
> that generated the spool file, like
> EMAILSPLF FILE(QSYSPRT) JOB(*) SPLNBR(*LAST)
> Then the job generating the spool file should have access to it.
>
> How were you planning on using this?
>
> Rob Berendt
>
>
>
> --
> 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 ...

Follow-Ups:
Replies:

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.