<?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: Missing Line feed(CRLF) in the CSV file generated in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458692#M284535</link>
    <description>&lt;P&gt;As I said, Notepad does not have the capability to distinguish the different line endings.&amp;nbsp; You need Notepad++ or Textpad or something like that which can recognise the different line endings.&amp;nbsp; Also, as I noted the temrstr can be used to import the file correctly.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Apr 2018 15:25:27 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-04-30T15:25:27Z</dc:date>
    <item>
      <title>Missing Line feed(CRLF) in the CSV file generated in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458637#M284531</link>
      <description>&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I exported a dataset with 2M obs into a csv or text&amp;nbsp;file for our vendor. However, when they tried opening the file, the carriage return line feed is missing, so the file&amp;nbsp;seems to be looping around continuously&amp;nbsp; .&amp;nbsp;They were unable to parse the file as the expected CRFL at the need of each record is missing Please see&amp;nbsp;example below with missing line feed between header ADDR and LastName.&amp;nbsp;I tried exporting in comma, tab and Pipe delimiters&amp;nbsp;and was not successful. I am setup on a SAS EG platform. Appreciate any assistance. Thank you as always.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LASTNAME|FIRSTNAME|DOB|AGE|ADDRDoe|John|1/1/1970|38|20 Street Drive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the sample pipe delimiter proc export:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;export&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=TEST&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outfile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"%sysfunc(pathname(WORK))/TEST.txt"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;dbms&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;= dlm;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;replace&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;delimiter='|';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 13:52:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458637#M284531</guid>
      <dc:creator>lmtamina</dc:creator>
      <dc:date>2018-04-30T13:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Line feed(CRLF) in the CSV file generated in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458640#M284532</link>
      <description>&lt;P&gt;I assume you have to assign&amp;nbsp;&lt;STRONG&gt;DBMS = CSV&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Beyond, you have not mentioned which OS you use and which OS your vendor use.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:00:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458640#M284532</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-04-30T14:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Line feed(CRLF) in the CSV file generated in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458650#M284533</link>
      <description>&lt;P&gt;Are you on a Unix based system, and them on a Windows system.&amp;nbsp; That is often the cause of mismatches in line endings.&amp;nbsp; Likely they will be using notepad to view the data.&amp;nbsp; If you use notepad++ or textpad they normally recognise the differences in line endings.&amp;nbsp; Also, importing the data you can use the termstr:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/14/178.html" target="_blank"&gt;http://support.sas.com/kb/14/178.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can be used to alternate between them&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458650#M284533</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-30T14:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Line feed(CRLF) in the CSV file generated in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458676#M284534</link>
      <description>&lt;P&gt;That is correct. I am on a&amp;nbsp;Unix platform and I believe they are&amp;nbsp;on Windows . Also, I&amp;nbsp; FTP' d&amp;nbsp; the a sample dataset in txt/csv file from Unix to my local Windows folder and tried to open it on Windows using basic Notepad and I also cannot see the line feed return.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:00:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458676#M284534</guid>
      <dc:creator>lmtamina</dc:creator>
      <dc:date>2018-04-30T15:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Line feed(CRLF) in the CSV file generated in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458692#M284535</link>
      <description>&lt;P&gt;As I said, Notepad does not have the capability to distinguish the different line endings.&amp;nbsp; You need Notepad++ or Textpad or something like that which can recognise the different line endings.&amp;nbsp; Also, as I noted the temrstr can be used to import the file correctly.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458692#M284535</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-30T15:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Line feed(CRLF) in the CSV file generated in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458712#M284536</link>
      <description>&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/458712#M284536</guid>
      <dc:creator>lmtamina</dc:creator>
      <dc:date>2018-04-30T15:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Line feed(CRLF) in the CSV file generated in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/460326#M284537</link>
      <description />
      <pubDate>Sun, 06 May 2018 21:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Line-feed-CRLF-in-the-CSV-file-generated-in-SAS/m-p/460326#M284537</guid>
      <dc:creator>lmtamina</dc:creator>
      <dc:date>2018-05-06T21:56:58Z</dc:date>
    </item>
  </channel>
</rss>

