<?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: Don't know what to put as title in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582378#M165646</link>
    <description>&lt;P&gt;Tried both Proc import and infile statements before and after deleting variables but can't get to the bottom of the problem.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 11:17:17 GMT</pubDate>
    <dc:creator>sks521</dc:creator>
    <dc:date>2019-08-20T11:17:17Z</dc:date>
    <item>
      <title>Importing CSV issue - number of records read does not match input file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582372#M165641</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've come a cross a very strange problem. I have a data set with&amp;nbsp;1536914 observations but when I delete a few unnecessary variables in the original 'csv' data file and import it into SAS, it only reads&amp;nbsp; 1048575 observations. Can someone guess what the problem might be please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;S&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 15:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582372#M165641</guid>
      <dc:creator>sks521</dc:creator>
      <dc:date>2019-08-20T15:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Don't know what to put as title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582375#M165644</link>
      <description>&lt;P&gt;How do you import it into SAS? The number&amp;nbsp;&lt;SPAN&gt;1048575 sounds remarkably close to the maximum number of rows in an Excel sheet &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582375#M165644</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-08-20T11:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Don't know what to put as title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582378#M165646</link>
      <description>&lt;P&gt;Tried both Proc import and infile statements before and after deleting variables but can't get to the bottom of the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582378#M165646</guid>
      <dc:creator>sks521</dc:creator>
      <dc:date>2019-08-20T11:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Don't know what to put as title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582386#M165649</link>
      <description>&lt;P&gt;Hope you have a copy of the csv file saved . Instead of deleting columns from the source try not to read those unnecessary columns into sas .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you modifying the file from excel or text editor ? the text editor could be wrapping single row into multiple.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:25:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582386#M165649</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2019-08-20T11:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Don't know what to put as title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582389#M165650</link>
      <description>&lt;P&gt;Yes, I have the original csv saved and will try to not read those variables in SAS. I was deleting them from excel editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But can I check in if its possible that the data file I have received is csv which can only accommodate a maximum of&amp;nbsp;&lt;SPAN&gt;1,048,576 rows but when I import the same file into SAS, it gives me&amp;nbsp;1536914 observations?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:29:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582389#M165650</guid>
      <dc:creator>sks521</dc:creator>
      <dc:date>2019-08-20T11:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Don't know what to put as title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582394#M165652</link>
      <description>&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;DO NOT&lt;/STRONG&gt;&lt;/FONT&gt; (never ever, not even when hell freezes over) &lt;U&gt;&lt;EM&gt;inspect&lt;/EM&gt;&lt;/U&gt;&amp;nbsp;(or edit) a csv file (which is text) with MS Excel. &lt;STRONG&gt;NEVER&lt;/STRONG&gt;. Excel has severe limitations because of its spreadsheet nature.&lt;/P&gt;
&lt;P&gt;Use a proper text editor (like Notepad++), which has no limits on lines (until it runs out of RAM, of course, but it will dutifully report that).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And as others have said, read the original file with SAS and just drop the unwanted columns in the data step.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:43:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582394#M165652</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-08-20T11:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Don't know what to put as title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582395#M165653</link>
      <description>&lt;P&gt;PS How about "Losing lines when importing CSV" as a title?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:45:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582395#M165653</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-08-20T11:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Don't know what to put as title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582396#M165654</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/277970"&gt;@sks521&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A csv is a text file and it can have more than&amp;nbsp;&lt;SPAN&gt;1,048,576 rows. It's your Excel version which can't read more than&amp;nbsp;1,048,576 rows from the csv while SAS can read them all. That likely explains the difference you observe.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582396#M165654</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-08-20T11:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Don't know what to put as title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582448#M165675</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;PS How about "Losing lines when importing CSV" as a title?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Or "Losing lines when editing CSV with Excel"&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-CSV-issue-number-of-records-read-does-not-match-input/m-p/582448#M165675</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-20T14:40:12Z</dc:date>
    </item>
  </channel>
</rss>

