|
To FTP from QSYS.LIB to IFS, use ftp loopback This puts you on the same machine. But CPYTOIMPF RCDDLM(*CRLF) DTAFMT(*FIXED) will give you the fixed length. I don't remember if you can specify the STMFCODPAG in V4R5, but I think there's a PTF for that. And CPYTOPIMPF works with packed and binary fields, too. It converts them as needed. HTH Vern At 06:13 AM 11/6/2002 -0800, you wrote:
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 __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.