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



How can I control the EOR characters on an FTP'ed file? By default, when I FTP a (flat) file from the /400 to a Unix box, FTP adds CR/LF to the end of the record. Sometimes I only want a CR.

I tried using the STRUCT R subcommand, but that gave me odd results. On a 2 record file, after the first record x'FF01' was appended and after the last x'FF03'. Is this supposed to happen?

The flat file was created via CRTPF w/ a record length of 3,000 (plenty of room to accommodate the data.) I am populating it via CPYTOIMPF. I tried playing w/ the RCDDLM() parm, but that only allows one character when copying to a database file (as opposed to the IFS.)

The only solution I have found is to do the CPYTOIMPF to the IFS then FTP it to the Unix system. I would have to make a bunch of changes to accommodate this, so I rather avoid it.

 TIA.

 -mark


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.