<?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: Importing a worksheet from 2016 excel into sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-worksheet-from-2016-excel-into-sas/m-p/466097#M285266</link>
    <description>&lt;P&gt;Run this code:&lt;/P&gt;
&lt;PRE&gt;proc setinit;
run;&lt;/PRE&gt;
&lt;P&gt;If you do not have something similar to the following &amp;nbsp;appear in the log then your SAS is not licensing the module to use that approach to importing Excel files:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;---SAS/ACCESS Interface to PC Files
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which would mean either getting license for that module or you could do a file save as from Excel to CSV and import that file as a delimited file. Add the option guessingrows=max to the proc import code to have a better chance at getting good results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do see that then run this code:&lt;/P&gt;
&lt;PRE&gt;proc product_status;
run;&lt;/PRE&gt;
&lt;P&gt;If you do not see something like the following then it means the module was not installed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;For SAS/ACCESS Interface to PC Files ...
&lt;/PRE&gt;
&lt;P&gt;Which means that a reinstall paying attention to select the module might help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 May 2018 15:41:33 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-05-30T15:41:33Z</dc:date>
    <item>
      <title>Importing a worksheet from 2016 excel into sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-worksheet-from-2016-excel-into-sas/m-p/465874#M285264</link>
      <description>&lt;P&gt;I have saved a file called cars.xlsx that is saved in a file path called myexcel. The sheet I want to import is called CarData. I am using the following code to import it into sas:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;datafile = 'myex\cars.xlsx'&lt;BR /&gt;out= Car_Data&lt;BR /&gt;dbms = xlsx replace;&lt;BR /&gt;sheet = "CarData";&lt;BR /&gt;getnames = yes;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting an error that says:&amp;nbsp;ERROR: DBMS type XLSX not valid for import. When I chance XLSX to excel I still get the same error message&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 00:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-worksheet-from-2016-excel-into-sas/m-p/465874#M285264</guid>
      <dc:creator>BenBrady</dc:creator>
      <dc:date>2018-05-30T00:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a worksheet from 2016 excel into sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-worksheet-from-2016-excel-into-sas/m-p/465908#M285265</link>
      <description>&lt;P&gt;Please check that xlsx is supported for your SAS version under linux/unix.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 06:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-worksheet-from-2016-excel-into-sas/m-p/465908#M285265</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-05-30T06:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a worksheet from 2016 excel into sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-worksheet-from-2016-excel-into-sas/m-p/466097#M285266</link>
      <description>&lt;P&gt;Run this code:&lt;/P&gt;
&lt;PRE&gt;proc setinit;
run;&lt;/PRE&gt;
&lt;P&gt;If you do not have something similar to the following &amp;nbsp;appear in the log then your SAS is not licensing the module to use that approach to importing Excel files:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;---SAS/ACCESS Interface to PC Files
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which would mean either getting license for that module or you could do a file save as from Excel to CSV and import that file as a delimited file. Add the option guessingrows=max to the proc import code to have a better chance at getting good results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do see that then run this code:&lt;/P&gt;
&lt;PRE&gt;proc product_status;
run;&lt;/PRE&gt;
&lt;P&gt;If you do not see something like the following then it means the module was not installed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;For SAS/ACCESS Interface to PC Files ...
&lt;/PRE&gt;
&lt;P&gt;Which means that a reinstall paying attention to select the module might help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 15:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-worksheet-from-2016-excel-into-sas/m-p/466097#M285266</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-05-30T15:41:33Z</dc:date>
    </item>
  </channel>
</rss>

