|
Jeffrey.Schmehl=WsMQ7OmGw2HQT0dZR+AlfA@public.gmane.org wrote in OF8F13E98D.3E86BA24-ON85256C36.004CD5BA@colaik.com:">news:OF8F13E98D.3E86BA24-ON85256C36.004CD5BA@colaik.com: > I think I am missing something obvious here but I need some help. > We are trying to FTP a text file from the IFS of one AS/400 to a > file on another AS/400. Is this possible? Every time we try, the > data appears as garbage. We are using binary, NAMEFT 1. The FTP > command is as follows: > > get /qdls/upload/export.txt /qsys.lib/hssdjsch.lib/export.file > > Is this a mismatch of file types? > > Thanks, > > Jeff Schmehl > Collins & Aikman Products Co. > Charlotte, NC It sounds like a file type mismatch. You are getting a stream file from the IFS of one machine and trying to put it out to a database file on another. Does EXPORT already exist in HSSDJSCH? If it does, you need to specify (REPLACE at the end of your get statement. If it does not, you may have problems. Try FTPing from IFS to IFS and using copy from import file (CPYFRMIMPF?) to populate the database. -- Mike Buglass
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.