|
Thanks for responding, Jeff and John. See replies. Jeff, The entry from the joblog looks like this; From module . . . . . . . . : QSNERR
From procedure . . . . . . : SetErr
Statement . . . . . . . . . : 4 To module . . . . . . . . . : QSNDEVQ To procedure . . . . . . . : ASPGetCHRID_Def Statement . . . . . . . . . : 1 Message . . . . : Program contains commands only valid when run interactively. John, Yes, I have a PF with a member that has the script commands in it, and then override the INPUT file to that PF. The commands in the PF are as listed in the original message. I also override the OUTPUT file to a PF in my library, and no entries are showing in the OUTPUT file on the batch job. It's like it does not even get started. Jim On 10/4/06, Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx> wrote:
What program is it that's issuing that message? I do FTP in batch all day long. -- Jeff Crosby Dilgard Frozen Foods, Inc. P.O. Box 13369 Ft. Wayne, IN 46868-3369 260-422-7531 The opinions expressed are my own and not necessarily the opinion of my company. Unless I say so. > -----Original Message----- > From: midrange-l-bounces@xxxxxxxxxxxx > [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim Essinger > Sent: Wednesday, October 04, 2006 3:49 PM > To: midrange-l@xxxxxxxxxxxx > Subject: Batch FTP Fails, Interactive works - what to change? > > Greetings all, > > I am new to FTP, and I am tying to set up a batch FTP using a > script file. > When I run interactive - the FTP works fine. I am not > prompted for anything, it just starts loading the files from > the remote system to my IFS > directory, When I submit to batch I get a message that > "Program contains > commands only valid when run interactively." > > Here are the entries from my script file; > > user userid password > namefmt 1 > lcd /ptfcatalog > ascii > cd /ibmpath/to/ptf/images/c > get ftpSF99539.txt > get ilstSF99539.txt > binary > get SF99539_1.bin > get SF99539_2.bin > get SF99539_3.bin > get SF99539_4.bin > get SF99539_5.bin > get SF99539_6.bin > quit > > > I have tried with and with out a blank line to start, and > both fail on batch. I look in the log file, and there are no entries. > > Anyone run into this before and/or can help me? > > > Thanks! > -- > Jim Essinger > Senior Programmer/Analyst > UnLtd / SLFI / IMA > PO Box 730 > Fruitland, ID 83619 > 208-452-4058 x133 > --
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.