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



Hello Gio,

Am 08.02.2024 um 19:28 schrieb gio.cot via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>:

When we are transferring files (PF-DTA) from IBM i To UNIX Server FTP, in
the target UNIX Server FTP, the file has LF at end of each line . The
customer the receive the file, tell us that he need CRLF .. how can we
obtain that result (CRLF instead of LF ) ???

UNIX native line ending is LF only. Transfer goes to a UNIX server, and the text mode doing translation from EBCDIC to ASCII also translates to the correct line ending for UNIX. Nothing wrong on your side.

I'd declare this to the problem of the customer. There are multiple ways to add a CR at end of line of the transferred file on UNIX, such as

sed 's/$/\r/' < infile > outfile

He can "fix" this easily on his server.

:wq! PoC




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.