<?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: trying to import csv file that have 6800000 observation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786959#M251339</link>
    <description>&lt;P&gt;Please post the code that you are using. Are there any unexpected messages in the log?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 15:52:22 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2021-12-21T15:52:22Z</dc:date>
    <item>
      <title>trying to import csv file that have 6800000 observation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786950#M251332</link>
      <description>&lt;P&gt;i was trying to import csv file that have 6800000 observation but when i import&amp;nbsp; csv file in sas&amp;nbsp; i got 2800000&lt;/P&gt;
&lt;P&gt;observation only&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 15:44:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786950#M251332</guid>
      <dc:creator>aanan1417</dc:creator>
      <dc:date>2021-12-21T15:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: trying to import csv file that have 6800000 observation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786959#M251339</link>
      <description>&lt;P&gt;Please post the code that you are using. Are there any unexpected messages in the log?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 15:52:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786959#M251339</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-12-21T15:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: trying to import csv file that have 6800000 observation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786960#M251340</link>
      <description>&lt;P&gt;i got a massage in the log that 2800000 observation imported ..&lt;/P&gt;
&lt;P&gt;i try to do it by clicking on proc import then next&amp;nbsp; after that i select the variable then i click next&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 15:58:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786960#M251340</guid>
      <dc:creator>aanan1417</dc:creator>
      <dc:date>2021-12-21T15:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: trying to import csv file that have 6800000 observation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786963#M251342</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/378510"&gt;@aanan1417&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;i was trying to import csv file that have 6800000 observation but when i import&amp;nbsp; csv file in sas&amp;nbsp; i got 2800000&lt;/P&gt;
&lt;P&gt;observation only&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is too large a file to trust to PROC IMPORT.&lt;/P&gt;
&lt;P&gt;Instead of "importing" the file just write a data step that will read the file.&lt;/P&gt;
&lt;P&gt;How many variables are there? How do you want them defined?&amp;nbsp; Does the file have a header line with suggested names for the variables?&lt;/P&gt;
&lt;P&gt;To look at the beginning of the file use a simple data step. Use the OBS= option on the INFILE statement to limit the number of lines read.&amp;nbsp; Use a bare INPUT statement to read the lines. Use the LIST statement to display the lines.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile 'myfile.csv' obs=5 ;
  input;
  list;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Dec 2021 16:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786963#M251342</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-12-21T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: trying to import csv file that have 6800000 observation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786964#M251343</link>
      <description>&lt;P&gt;Are you running on Windows?&amp;nbsp; Perhaps the file contains the DOS end of file character?&lt;/P&gt;
&lt;P&gt;Use the IGNOREDOSEOF option on the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/chifoptfmain.htm" target="_self"&gt;INFILE statement&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 16:05:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/trying-to-import-csv-file-that-have-6800000-observation/m-p/786964#M251343</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-12-21T16:05:31Z</dc:date>
    </item>
  </channel>
</rss>

