|
Steven, A fixed length pc file doesn't have any field definition - it's "flat" so to speak. if you create the file with fields defined already on the as/400 first, before transfer, and then use ftp, I think you'll find that the field defs are preserved. (i think - it works for save files anyway) I have not tested this, but i would assume it would work. If not, try ftping to a flat file (CRTPF - specify record length instead of source member name) and then copying that file, FMTOPT(*NOCHK), to an existing, fields defined, file. hth, rick --original message-- I mean by 'fields retained' that when I've transferred this file it's gone up as a Source File, ie one big field, I want the discrete fields to stay eg NAME, ADDRESS1, ADDRESS2 etc.
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.