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




JP Carr shows us how to write the file directly to the IFS without FTP.
Search the archives or find his presentation.  Its slick.


---------------------------------------------------------
Booth Martin   http://www.MartinVT.com
Booth@MartinVT.com
---------------------------------------------------------

-------Original Message-------

From: midrange-l@midrange.com
Date: Wednesday, November 06, 2002 09:17:04 AM
To: midrange-l@midrange.com
Subject: AS/400 app FTPs file to IFS???

I need to copy an AS/400 file to the IFS with the requirement that the
resulting file must be fixed length. (The file on the AS/400 has only
alpha and signed numeric fields.) The AS/400 is at v4r5.

I struggled with CPYTOSTMF with no success. I found a reference to
using "quote site trim 0" in FTP and I was able to use FTP on my
Windoze box to get the desired results with the file being placed on my
PC.

But I need for an AS/400 app to do this work and I need the file to be
placed on the IFS. I know how to FTP between different AS/400s, but
I've never had the occasion to FTP a file from the AS/400 QSYS.LIB to
an IFS location.

Pointers to TFM are welcome.

TIA, Dan


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.