|
Ok, let me expand on this a little. The export.txt file was not created on an AS/400 but is just stored there. It is actually an ASCII file created from Excel. Whenever I try to use either EBCDIC or ASCII formats, it tells me to use Binary. Namefmt 1 is the only format that will allow me to go anywhere. Do I need to copy it to the IFS on the local system and then do a CpyfrmStmf to get it into the database? Thanks, Jeff Schmehl ---------------------------- Original message: Since I have not seen anyone reply as of yet - here is 2 cents... I am somewhat sketchy on ftp ins and outs, whys and where's myself, however; this sounds like the file you want from the IFS is a pc style file, so why would you use the NAMEFT 1? I would think you could code your script just as you would if you where doing the get from a PC. Have you tried it without? My "feeble understanding" of the NAMEFT 1 is to preserve the file from one system to another (basically so you don't ftp a compiled object over and it suddenly becomes a text file of garbage) - but I could be way off base as I have not really had a need to use the nameft1 unless I was going from one AS/400 DB to another with out going in-between IFS or pc's. Hopefully some other people on the list that have taken the time to learn more about ftp than myself can bring more light on the subject for you - as I have just learned enough to get it to work for what the requirements have been thus far. HTH Mark
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.