<?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: Problem Importing XLSX file using Proc Import in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67929#M19447</link>
    <description>Do have the file open in Excel?  That can cause this error.</description>
    <pubDate>Tue, 01 Feb 2011 16:08:07 GMT</pubDate>
    <dc:creator>CurtisMack</dc:creator>
    <dc:date>2011-02-01T16:08:07Z</dc:date>
    <item>
      <title>Problem Importing XLSX file using Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67928#M19446</link>
      <description>I'm trying to use Proc Import to read an XLSX file into a SAS file, but I'm getting an error message:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
16         proc import out=R110035.ssns_provided&lt;BR /&gt;
17              datafile = 'S:\Requests\2011 Requests\1101\R110035\Misc\From Client.xlsx'&lt;BR /&gt;
18              dbms = EXCEL replace;&lt;BR /&gt;
19         run;&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Unable to open file S:\Requests\2011 Requests\1101\R110035\Misc\From Client.xlsx. It &lt;BR /&gt;
       does not  exist or it is already opened exclusively by another user, or you need &lt;BR /&gt;
       permission to view its data.&lt;BR /&gt;
&lt;BR /&gt;
Am I using the right DBMS option? Is there some other problem?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Jeff</description>
      <pubDate>Tue, 01 Feb 2011 16:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67928#M19446</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-02-01T16:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Importing XLSX file using Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67929#M19447</link>
      <description>Do have the file open in Excel?  That can cause this error.</description>
      <pubDate>Tue, 01 Feb 2011 16:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67929#M19447</guid>
      <dc:creator>CurtisMack</dc:creator>
      <dc:date>2011-02-01T16:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Importing XLSX file using Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67930#M19448</link>
      <description>Also, these notes are relevant:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/455.html" target="_blank"&gt;http://support.sas.com/kb/32/455.html&lt;/A&gt; &lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/38/535.html" target="_blank"&gt;http://support.sas.com/kb/38/535.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/862.html" target="_blank"&gt;http://support.sas.com/kb/32/862.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And this documentation shows which versions of Excel can be read with which versions of SAS on various platforms (32 bit vs 64 bit):&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003094743.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003094743.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 01 Feb 2011 16:57:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67930#M19448</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-02-01T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Importing XLSX file using Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67931#M19449</link>
      <description>Hi.&lt;BR /&gt;
proc import is not supported the XLSX file which is file above Office2007.&lt;BR /&gt;
If you want to import these files , one way is to use ' libname   ' statement.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
libname exce excel 'c:\temp\from.xlsx';&lt;BR /&gt;
proc sql ;&lt;BR /&gt;
 create table r11 as&lt;BR /&gt;
 select *&lt;BR /&gt;
  from exce.sheet1;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Not tested code.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Tue, 15 Feb 2011 10:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-Importing-XLSX-file-using-Proc-Import/m-p/67931#M19449</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-02-15T10:11:29Z</dc:date>
    </item>
  </channel>
</rss>

