|
Interesting, give it a try, Create INPUT file, Create OUTPFILE, let FTP use the actual files you can create them in QTEMP if needed. Don't use any override -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Nino Onofre Sent: Wednesday, September 21, 2005 12:09 PM To: Midrange Systems Technical Discussion Subject: Re: FTP Output problem Thank you rob for your answer, I tried your sugestions and still the same problem another idea? Nino --- rob@xxxxxxxxx wrote: > Sounds like it should work to me. Same program so > ACTGRP should not be a > factor. > I've a couple of WAG's: > 1 - Sign off and sign back on and see if that works. > (Leftover override?) > 2 - Try using a different file (TOFILE) and not just > a different member in > the same file. > 3 - Upgrade to a supported version of OS/400 and > call IBM and report the > issue. > > Rob Berendt > -- > Group Dekko Services, LLC > Dept 01.073 > PO Box 2000 > Dock 108 > 6928N 400E > Kendallville, IN 46755 > http://www.dekko.com > > > > > > Nino Onofre <ninoonofre@xxxxxxxxx> > Sent by: midrange-l-bounces@xxxxxxxxxxxx > 09/21/2005 12:52 PM > Please respond to > Midrange Systems Technical Discussion > <midrange-l@xxxxxxxxxxxx> > > > To > midrange-l@xxxxxxxxxxxx > cc > > Fax to > > Subject > FTP Output problem > > > > > > > I've never had this problem before, but now I am > working with V4R5 and sending a file to a computer > con > V5R2, when I send a file for FTP by a CL program the > output of this operation goes to the INPUT file.. > WHY? > > The CL PGM > PGM > OVRDBF FILE(INPUT) TOFILE(QGPL/QTRFSRC) MBR(PGMTRF) > > > OVRDBF FILE(OUTPUT) TOFILE(QGPL/QTRFSRC) MBR(PGM001) > > FTP RMTSYS(DUMMY) > > DLTOVR FILE(INPUT OUTPUT) > > ENDPGM > > The Input src before to run the program > dummy dummy > close > open xxx.xx.x.25 (Obvious is another IP) > user link link > bin > put QGPL/FTPOBJ QGPL/FTPOBJ.SAVF > close > quit > > The Output source is empty and the INPUT file after > run the CL is: > > dummy dummy > close > open xxx.xx.x.25 > user link link > bin > put QGPL/FTPOBJ QGPL/FTPOBJ.SAVF > close > quit > Output redirected to a file. > Input read from specified override file. > Cannot find host DUMMY. > Enter an FTP subcommand. > > dummy ***** > Subcommand 'dummy' not valid. > For a list of available FTP subcommands, enter > subcommand HELP. > Enter an FTP subcommand. > > close > You must first issue the OPEN subcommand. > > Enter an FTP subcommand. > > open XXX.XX.X.XX > Connecting to remote host XX.XX.X.XX using port 21. > 220-QTCP at xxxx.com > 220 Connection will close if idle more than 60 > seconds. > Enter an FTP subcommand. > > user link **** > 331 Enter password. > 230 LINK logged on. > OS/400 is the remote operating system. The TCP/IP > version is "V5R2M0". > 250 Now using naming format "0". > 257 "QGPL" is current library. > Enter an FTP subcommand. > > bin > 200 Representation type is binary IMAGE. > Enter an FTP subcommand. > > put QGPL/FTPOBJ QGPL/FTPOBJ.SAVF > 227 Entering Passive Mode (xxxxxxxxxxxxxxxxxxxx). > 150 Sending file to member SAVF in file FTPOBJ in > library QGPL. > 250 File transfer completed successfully. > 185856 bytes transferred in 0.505 seconds. Transfer > rate 368.117 KB/Sec > Enter an FTP subcommand. > > close > 221 QUIT subcommand received. > Enter an FTP subcommand. > > quit > > > > Do you know Why??? > > Regards > > Nino > > > > > > > __________________________________________________________ > > Find your next car at http://autos.yahoo.ca > -- > This is the Midrange Systems Technical Discussion > (MIDRANGE-L) mailing > list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/midrange-l. > > > -- > This is the Midrange Systems Technical Discussion > (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/midrange-l. > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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.