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



Dan,

The AS/400 FTP server should recognize just the LF character (hex 0A in the
file) and write one record to a file. You can then use FTP to fetch it and
get CR/LF (hex 0D 0A) on the end of each record. UNIX tends to just use LF
to terminate records.

Patrick
----- Original Message -----
From: "Dan Bale" <dbale@samsa.com>
To: <midrange-l@midrange.com>
Sent: Thursday, February 14, 2002 10:34 AM
Subject: Unix file to PC, weird LF-CR


> Anybody know about how Unix does Line Feeds and Carriage Returns?  We've
got
> a file from a Unix system that we want to load to the 400.  On our Windoze
> PC, the "records" of data all show up on one line.  I recognize that this
is
> a stream file, but there's a funny looking character at the end of each
> "record".  If I can determine the hex value of that LF-CR character, is
> there a way to import the stream file from the PC to an AS400 file on a
V3R2
> system that does not have Client Access?
>
> TIA,
> - Dan Bale
>
> _______________________________________________
> 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 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.