× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.