|
Joe, FTP and RCMD jobs handle spooled output a little differently than you might expect. You may need to specify: OVRPRTF OPNSCOPE(*JOB) SPLFOWN(*JOB) This sounds similar to Albert's question in the archives: http://www.forum400.com/midrangelarchives/199910/msg01687.html ...and Buck's reply: http://www.forum400.com/midrangelarchives/199910/msg01692.html Regards, Jerry Jewel "Better living through fine code and hot coffee!" > -----Original Message----- > From: Joe Giusto [SMTP:] > Sent: Friday, April 28, 2000 6:25 AM > To: 'MIDRANGE-L@midrange.com' > Subject: RE: Calling Report and Viewing Output from a PC > ... I am having trouble with the CPYSPLF part. > I have tried CPYSPLF in the FTP Script and in the CLP. In each case, I > get > a spooled file not found error. I look at the spooled files for user FTP > and it is there. I have noticed that the FTP message has returned "... > not > found in job 251071/QTCP/QTFTP00592" so I imagine that the CPYSPLF is > looking for the spooled file in that job instead of the job indicated by > the > spooled file I saw created on the system. Here is a copy of the output > results. > > 220 Connection will close if idle more than 5 minutes. > ftp> user ftp xxxxxx > 331 Enter password. > 230 FTP logged on. > ftp> quote rcmd CHGLIBL LIBL(QTEMP QGPL q400f arlib ionew) > 250 Command CHGLIBL LIBL(QTEMP QGPL q400f arlib ionew) successful. > ftp> quote rcmd CALL splstoffc2 > 550-Error occurred on command CALL splstoffc2. 550 Error found on CALL > command.. ftp> quote rcmd CPYSPLF FILE(arprt10) TOFILE(arlib/SPOOL) > 550-Error occurred on command CPYSPLF FILE(arprt10) TOFILE(arlib/SPOOL). > 550 > File ARPRT10 not found in job 251071/QTCP/QTFTP00592.. > +--- | 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 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.