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



The question is - How is the Unix shop "Zipping" the file. Are they using the 
Unix compress command? Not too sure, but I dont think thats compatible

>>> "Dan Bale" <dbale@samsa.com> 02/14/02 02:01PM >>>
Hmmm.  Wordpad is *not* handling this file correctly.  If it matters, I'm
told that we get the file zipped from the Unix shop and we unzip it here.
Could it be that the Unix zip / Windoze unzip is not converting the LF or CR
character correctly?

- Dan Bale

-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com]On Behalf Of Adam Lang
Sent: Thursday, February 14, 2002 1:36 PM
To: midrange-l@midrange.com
Subject: Re: Unix file to PC, weird LF-CR


It is because Microsoft "embraced and extended" end of lines.  Unix only
uses one character to end lines (either LF or CR ... can not recall).  Goofy
assed MS uses CRLF to denote end of line.

If you open the unix text file in wordpad, it handles the the unix style
correctly.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Dan Bale" <dbale@samsa.com>
To: <midrange-l@midrange.com>
Sent: Thursday, February 14, 2002 1:34 PM
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 ...


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.