<?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: Txt data with random line breaks in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/662831#M197866</link>
    <description>&lt;P&gt;&lt;EM&gt;&amp;gt;some variables have line breaks&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is insufficient&amp;nbsp;information. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are these LF or CRLF ? How do the breaks show in Notepad++ or in MS Word?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jun 2020 06:06:59 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-06-18T06:06:59Z</dc:date>
    <item>
      <title>Txt data with random line breaks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/661937#M197832</link>
      <description>Hi. I have very large datasets (Csv)—some variables have line breaks —how can I fix those random line breaks when I import into sas?thank you.</description>
      <pubDate>Wed, 17 Jun 2020 22:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/661937#M197832</guid>
      <dc:creator>Emma8</dc:creator>
      <dc:date>2020-06-17T22:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Txt data with random line breaks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/661940#M197835</link>
      <description>&lt;P&gt;Please try the FILENAME statement option TERMSTR.&amp;nbsp; &lt;/P&gt;
&lt;DIV id="bodyDisplay_80aeaf4238c597" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename sample 'sample.csv' termstr=CRLF;

proc import datafile=sample out=csv replace dbms=csv;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Jun 2020 22:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/661940#M197835</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2020-06-17T22:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Txt data with random line breaks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/662831#M197866</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;some variables have line breaks&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is insufficient&amp;nbsp;information. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are these LF or CRLF ? How do the breaks show in Notepad++ or in MS Word?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 06:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/662831#M197866</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-06-18T06:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Txt data with random line breaks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/663090#M197883</link>
      <description>&lt;P&gt;Having LF in .csv created from Excels is unfortunately not uncommon. Luckily your .csv will most likely use&amp;nbsp;CRLF as actual end-of-line indicator.&lt;/P&gt;
&lt;P&gt;If so then using&amp;nbsp;&lt;EM&gt;termstr=CRLF&lt;/EM&gt; in the Infile statement should be the silver bullet for you.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 09:04:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/663090#M197883</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-06-18T09:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Txt data with random line breaks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/663135#M197907</link>
      <description>&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-import-line-feed-or-carriage-return-values-from-csv-file/td-p/655543" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-import-line-feed-or-carriage-return-values-from-csv-file/td-p/655543&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Reading-Text-File/td-p/657209" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Reading-Text-File/td-p/657209&lt;/A&gt;</description>
      <pubDate>Thu, 18 Jun 2020 12:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Txt-data-with-random-line-breaks/m-p/663135#M197907</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-06-18T12:22:53Z</dc:date>
    </item>
  </channel>
</rss>

