<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CSV Delimiter in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/CSV-Delimiter/m-p/69584#M20005</link>
    <description>Maybe this sample can help you out:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/26/065.html" target="_blank"&gt;http://support.sas.com/kb/26/065.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
    <pubDate>Fri, 16 Jan 2009 08:48:13 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2009-01-16T08:48:13Z</dc:date>
    <item>
      <title>CSV Delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CSV-Delimiter/m-p/69583#M20004</link>
      <description>Good Afternoon All,&lt;BR /&gt;
&lt;BR /&gt;
I have a freeform field called description in a database which allows the user to type on multiple lines.  When the data is imported through SAS as a CSV the enter forces the remainder of the data into the next observation which happens to be a date and obviously the log shows errors.&lt;BR /&gt;
&lt;BR /&gt;
Is there anyway to have SAS ignore this enter and keep the data in the desired observation?&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help.&lt;BR /&gt;
&lt;BR /&gt;
This is the code I am using.&lt;BR /&gt;
&lt;BR /&gt;
DATA WORK.IMPW_0001;&lt;BR /&gt;
&lt;BR /&gt;
	INFILE "\\mprqsas401\\data\CATClaimsByLocation.csv"&lt;BR /&gt;
		DELIMITER=','&lt;BR /&gt;
		MISSOVER&lt;BR /&gt;
		DSD&lt;BR /&gt;
		LRECL=32767&lt;BR /&gt;
		FIRSTOBS=2&lt;BR /&gt;
	;&lt;BR /&gt;
	LENGTH&lt;BR /&gt;
		ID$ 11&lt;BR /&gt;
		Description $ 478&lt;BR /&gt;
		ReportedDate 8&lt;BR /&gt;
&lt;BR /&gt;
	;&lt;BR /&gt;
	INFORMAT&lt;BR /&gt;
		ReportedDate DDMMYY8.0&lt;BR /&gt;
	;&lt;BR /&gt;
	FORMAT&lt;BR /&gt;
		ReportedDate DDMMYY10.0&lt;BR /&gt;
	;&lt;BR /&gt;
	INPUT&lt;BR /&gt;
		ID $&lt;BR /&gt;
		Description  $&lt;BR /&gt;
		ReportedDate &lt;BR /&gt;
&lt;BR /&gt;
	;&lt;BR /&gt;
	LABEL&lt;BR /&gt;
		ID= "ID"&lt;BR /&gt;
		Description = "Description"&lt;BR /&gt;
	                ReportedDate = "ReportedDate"&lt;BR /&gt;
	;&lt;BR /&gt;
RUN;</description>
      <pubDate>Fri, 16 Jan 2009 05:22:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CSV-Delimiter/m-p/69583#M20004</guid>
      <dc:creator>Scottcom4</dc:creator>
      <dc:date>2009-01-16T05:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CSV-Delimiter/m-p/69584#M20005</link>
      <description>Maybe this sample can help you out:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/26/065.html" target="_blank"&gt;http://support.sas.com/kb/26/065.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Fri, 16 Jan 2009 08:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CSV-Delimiter/m-p/69584#M20005</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-01-16T08:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/CSV-Delimiter/m-p/69585#M20006</link>
      <description>The above suggestion will answer your question directly.&lt;BR /&gt;
&lt;BR /&gt;
From a different angle,&lt;BR /&gt;
could you just read the database directly instead of having to import the data through an exported flat file?</description>
      <pubDate>Fri, 16 Jan 2009 14:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/CSV-Delimiter/m-p/69585#M20006</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-01-16T14:57:25Z</dc:date>
    </item>
  </channel>
</rss>

