• Subject: RE: FTP server job can't find spool files
  • From: Buck Calabro <mcalabro@xxxxxxxxxxxx>
  • Date: Fri, 29 Oct 1999 14:27:54 -0400

Albert,
IBM helped me with this one.  The QPRTJOB is by design - it lets the user do
a WRKSPLF and find all her files.  To avoid using the user profile of the
user, OVRPRTF OPNSCOPE(*JOB) SPLFOWN(*JOB)  There may also be an API to do
the same function without having to resort to spinning through a spooled
file.

Buck Calabro

> -----Original Message-----
> From: York, Albert 
> Sent: Friday, October 29, 1999 12:49 PM
> To:   'MIDRANGE-L@midrange.com'
> Subject:      FTP server job can't find spool files
> 
> I  have a C/L program on the AS/400 which I use to cancel jobs which have
> a
> lock on a particular object. The C/L program uses the WRKOBJLCK
> (specifying
> *PRINT for output), then copies the spool file to a physical file, then
> reads through the file to find and cancel the jobs. The program works fine
> when I call it or submit it.
> 
> When I try execute the program using the FTP RCMD command from my PC the
> spool file gets created with a job name of QPRTJOB and the user ID that I
> used in FTP. The FTP server job can't find the spool file and the program
> fails. I get this message:
> 
> File QPDSPOLK not found in job 307802/QTCP/QTFTP00299.
> 
> Does anyone know of a fix or a work around for this?
> 
> 
> Albert York
> 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.