Date: Wed, 26 Jul 2000 07:05:37 GMT
Reply-To: Lars Rud <Lars_Rud@LAAN-SPAR.DK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Lars Rud <Lars_Rud@LAAN-SPAR.DK>
Organization: Tele Danmark Internet Cyberspace Launchpad
Subject: Flat file data containing carriage returns
Hi,
We read most of our data into SAS from fixed length flat files.
Now a new datatype has baffled us:
A text-field 250 characters in length turns out to contain carriage
returns.
As a result, the datafile is not read correctly: Every carriage return is
perceived by SAS as the start of a new observation.
If you look at the flat file this is understandable - a carriage return
does not appear as a special character, but as the _effect_ of a carriage
return.
How do we get SAS to handle the problem?
Regards,
Lars Rud
|