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



I know the path is correct, I have that part tested and it works. I know
there is an option through SPLTOOL for submitting it to batch, but the
command line version does not so I assume it is interactive. This CL is
submitted to a different jobq so it doesn't hold up any other reports from
processing. Within the program I build most of the parms (Spool file name,
path, and PDF file name), then a CL is called to get the job parms and to
submit the "creation CL".

I thought of the continuous loop problem, if I only do that on file not
found though, could that still cause a problem (the path is assumed to be
correct)?

Mike Wills
IT Corporate Support
MNWills@taylorcorp.com


-----Original Message-----
From: Phil [mailto:sublime78ska@yahoo.com]
Sent: Monday, August 20, 2001 10:23 AM
To: midrange-l@midrange.com
Subject: RE: PDF file problems


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

_______________________________________________
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


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.