<?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: Libname doesn't work in 9.4 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350643#M81524</link>
    <description>&lt;P&gt;You can run proc import using the dbms=xlsx engine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Apr 2017 21:11:43 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2017-04-17T21:11:43Z</dc:date>
    <item>
      <title>Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350496#M81475</link>
      <description>&lt;P&gt;I am having an issue with SAS 9.4. The code below does not work in 9.4 but does work in 9.3 (I have both versions installed).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname kdot 
"\\mriglobal\kcshares\Projects\110933\KDOT Crash Data for Freeways in Johnson and Wyandotte Counties\KDOT Crash Data as Received from KDOT.xlsx"
getnames=yes mixed=yes;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If I had to guess it was because I was missing an update for 9.4 but was wondering if someone could help figure out why the code does not work in 9.4.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message I get is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Connect: Class not registered&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 13:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350496#M81475</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-04-17T13:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350500#M81476</link>
      <description>&lt;P&gt;Most likely your SAS 9.4 is 64 bit and your SAS 9.3 and MicroSoft Office are 32 bit.&lt;/P&gt;
&lt;P&gt;Probably the easist thing to do is to use the new XLSX engine instead of the EXCEL engine. Otherwise you will need to get SAS PC Files Server running and figure out how to use that.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname kdot XLSX "myfile.xlsx" ;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Apr 2017 13:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350500#M81476</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-04-17T13:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350504#M81477</link>
      <description>&lt;P&gt;I agree with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt; but, if you use the xlsx engine, be sure to remove the "getnames=yes mixed=yes" statements as they're not supported in the xlsx engine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 14:07:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350504#M81477</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-17T14:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350506#M81478</link>
      <description>&lt;P&gt;You are correct 9.3 and excel and 32 bit and 9.4 is 64 bit. I tried the code you mentiond and got the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: The XLSX engine cannot be found.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I should have mentioned I tried changing the engine before and got this error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did remove the getnames and mixed statements.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 14:12:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350506#M81478</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-04-17T14:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350512#M81479</link>
      <description>&lt;P&gt;Do you license SAS Access for PC Files and, if so, is it installed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 14:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350512#M81479</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-17T14:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350642#M81523</link>
      <description>&lt;P&gt;Yes I have SAS Access and as far as I can tell it is installed on the machine. Atleast in the SAS 9.4 install folder there is an Access folder. Plus I don't have any issues with proc import only the libname statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 20:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350642#M81523</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-04-17T20:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350643#M81524</link>
      <description>&lt;P&gt;You can run proc import using the dbms=xlsx engine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 21:11:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350643#M81524</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-17T21:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350645#M81525</link>
      <description>&lt;P&gt;Yes, proc import using dbms=xlsx works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was using the libname statement because&amp;nbsp;I find it is easier to deal with documents that have a lot of sheets.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 21:15:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350645#M81525</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-04-17T21:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350649#M81526</link>
      <description>&lt;P&gt;Which maintenance version are you using? The xlsx engine wasn't added until SAS9.4, Maintenance 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 21:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350649#M81526</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-17T21:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350656#M81528</link>
      <description>&lt;P&gt;Are your sheetnames valid membernames? You could try setting the VALIDMEMNAME option to EXTEND.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 21:42:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350656#M81528</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-04-17T21:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350894#M81630</link>
      <description>&lt;P&gt;Yes the sheets are valid names, I got the code to work in SAS 9.3. I tried the&amp;nbsp;&lt;SPAN&gt;VALIDVARNAME=ANY option in 9.4&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 15:02:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/350894#M81630</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-04-18T15:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/351027#M81672</link>
      <description>&lt;P&gt;The VALIDVARNAME setting would not effet table names based on sheet names.&lt;/P&gt;
&lt;P&gt;If you make a very simple work book with maybe one cell populated (A1 with simple column name and A2 with a value like 5) and the default Sheet1 name can you read that?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 20:17:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/351027#M81672</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-18T20:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/351417#M81791</link>
      <description>Thanks for the suggestions, unfortunately it did not work. I feel like at this point something was installed incorrectly or maybe there is an issue with having two version of SAS on my computer.</description>
      <pubDate>Wed, 19 Apr 2017 18:33:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/351417#M81791</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-04-19T18:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/351438#M81795</link>
      <description>&lt;P&gt;You should open a support ticket with SAS. &amp;nbsp;They can look into the details of your version of SAS and your XLSX and help you see if the issue is your installation or a bug in SAS. &lt;A href="http://support.sas.com&amp;nbsp;" target="_blank"&gt;http://support.sas.com&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 19:55:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/351438#M81795</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-04-19T19:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/351455#M81798</link>
      <description>I'll give that a shot thanks.</description>
      <pubDate>Wed, 19 Apr 2017 20:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/351455#M81798</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-04-19T20:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Libname doesn't work in 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/352926#M82335</link>
      <description>&lt;P&gt;SAS support helped me find a solution. I had to use the code below for my 64 bit version of SAS to communicate with the 32 bit version of excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname dot PCFILES PATH="\\global\shares\Projects\110933\data.xlsx";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I also had to uninstall&amp;nbsp;PC file serve since I had both a 32 bit and 64 bit version installed. I reinstalled 32 bit PC file server and the code above worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 15:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-doesn-t-work-in-9-4/m-p/352926#M82335</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-04-24T15:45:16Z</dc:date>
    </item>
  </channel>
</rss>

