<?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: Proc Import not importing all observations in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140982#M37657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since it looks like you may be using the University edition and I don't I can't test..&lt;/P&gt;&lt;P&gt;XLS would not pay any attention to delimiters as XLS files don't have such if a native Excel file.&lt;/P&gt;&lt;P&gt;If it is delimited text, say so.&lt;/P&gt;&lt;P&gt;I would be tempted to export using Excel or other spreadsheet program to a CSV and import that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 22:26:50 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-01-27T22:26:50Z</dc:date>
    <item>
      <title>Proc Import not importing all observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140980#M37655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to import the attached .xls file, and not all of the observations are being imported.&amp;nbsp; Just the first 65536 observations.&amp;nbsp; I checked, and it is not missing any observations from 1 to 65536.&amp;nbsp; It is importing the columns correctly, and correctly guessing the delimiter, which is a space, in this instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile = '/home/mit/mahler/Abnormal_Weather/Data/StateData.xls'&amp;nbsp; dbms=xls&amp;nbsp; out=dat.StatesFinal&amp;nbsp; replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp; getnames = no;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, from the attached file, the original data has 96191 observations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure this is an easy fix, but I can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 22:16:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140980#M37655</guid>
      <dc:creator>mahler_ji</dc:creator>
      <dc:date>2015-01-27T22:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import not importing all observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140981#M37656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An xls file can only contain up to 65536 records. An xlsx file can contain more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 22:22:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140981#M37656</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2015-01-27T22:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import not importing all observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140982#M37657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since it looks like you may be using the University edition and I don't I can't test..&lt;/P&gt;&lt;P&gt;XLS would not pay any attention to delimiters as XLS files don't have such if a native Excel file.&lt;/P&gt;&lt;P&gt;If it is delimited text, say so.&lt;/P&gt;&lt;P&gt;I would be tempted to export using Excel or other spreadsheet program to a CSV and import that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 22:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140982#M37657</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-01-27T22:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import not importing all observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140983#M37658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That fixed it!&amp;nbsp; Thanks so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just saved it as a .xlsx file and used the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;/P&gt;&lt;P&gt;proc import datafile = '/home/mit/mahler/Abnormal_Weather/Data/StateData.xlsx'&amp;nbsp; dbms=xlsx&amp;nbsp; out=dat.StatesFinal&amp;nbsp; replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp; getnames = no; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 22:33:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-not-importing-all-observations/m-p/140983#M37658</guid>
      <dc:creator>mahler_ji</dc:creator>
      <dc:date>2015-01-27T22:33:03Z</dc:date>
    </item>
  </channel>
</rss>

