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



Does SPL2STMF submit jobs to batch?  If not, when it returns it should be
done.

Make sure of the reason why it can't find the file.  Maybe the path isn't
correct (you didn't send how you create the path variable.).

Otherwise a loop will work but if the problem is something else then it will
loop forever (or IPL, whichever happens first :)

Phil

> -----Original Message-----
> From: midrange-l-admin@midrange.com
> [mailto:midrange-l-admin@midrange.com]On Behalf Of Wills, Mike N. (TC)
> Sent: Monday, August 20, 2001 10:49 AM
> To: 'midrange-l@midrange.com'
> Subject: PDF file problems
>
>
> Hello all,
>
> After two weeks away from the office I am back.
>
> We have discovered a problem with a CL I have created, the
> authority is not
> being changed on the PDF file. When we remove the monitor for the
> messages,
> we get a message waiting stating that the file does not exist, even after
> the 9 second delay. The code I used is below.
>
> /* Delay so job that called pgm can finish */
>        DLYJOB     DLY(5)
> /* Move the spool file to the stream file */
>        SPL2STMF   FILE(&SPLFILE) +
>                     JOB(&JOBNUM/&USERNAME/&JOBNAME) +
>                     SPLNBR(&SPLNUMBER) FROM(2) TO(*LAST) +
>                     TOSTMF(&SFNAME) DIR(&DIRNAME)
> /* Change the object authority to public */
>        DLYJOB     DLY(9)
>        CHGAUT     OBJ(&PATH) USER(*PUBLIC) DTAAUT(*RWX) +
>                     OBJAUT(*ALL)
>        MONMSG     MSGID(CPA0702 CPFA0A9)
>
> I was wondering if there is a better way to change the authority? Should I
> put in a loop until the file does exist?
>
> Mike Wills
> IT Corporate Support
> MNWills@taylorcorp.com
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L)
> mailing list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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