|
Nope. CRLF is added immediately following the last non-blank character. And specifying ENDLINFMT(*FIXED) gives a file with no CRLF's, just one bloody long record! Go figure! Thanks, Dan --- "DeLong, Eric" <EDeLong@Sallybeauty.com> wrote: > Dan, > > CPYTOSTMF would be my preference, but you need a little prep work to > make it > happen. The main problem is this command won't work for externally > described files, so you must copy the data to a non-described file > first. > > CRTPF FILE(LIBX/FILEX) RCDLEN(xxx) > CPYF .............. FMTOPT(*NOCHK) > CPYTOSTMF FROMMBR('/qsys.lib/libx.lib/filex.file/filex.mbr') > TOSTMF('/ifs_path_here/file.dat') STMFCODPAG(*PCASCII) __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/
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.