<?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: Error in Libname statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334134#M75433</link>
    <description>&lt;P&gt;You have an XLS file, not XLSX. Try some of the older engines such as XLS or Excel2003&lt;/P&gt;</description>
    <pubDate>Sat, 18 Feb 2017 22:17:53 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-02-18T22:17:53Z</dc:date>
    <item>
      <title>Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334069#M75389</link>
      <description>&lt;P&gt;I am trying to access data from excel workbook but I am not able to give a Libname ref, getting the following error.&lt;/P&gt;
&lt;P&gt;My code:&lt;/P&gt;
&lt;P&gt;LIBNAME mylib excel &amp;nbsp;"C:\Users\ak26\Desktop\Readme.xls";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error I am getting-&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me out.&lt;/P&gt;
&lt;P&gt;I tried to download PC Files server form &amp;nbsp;&lt;A href="http://support.sas.com/downloads/browse.htm?cat=63" target="_blank"&gt;http://support.sas.com/downloads/browse.htm?cat=63&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;but I am not able to download this, is there any alternate way to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 15:05:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334069#M75389</guid>
      <dc:creator>LittlesasMaster</dc:creator>
      <dc:date>2017-02-18T15:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334073#M75392</link>
      <description>&lt;P&gt;If you're on 9.4 you can use the xlsx engine. Take a look at:&amp;nbsp;&lt;A href="http://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 15:59:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334073#M75392</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-02-18T15:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334086#M75399</link>
      <description>No i am on 9.3</description>
      <pubDate>Sat, 18 Feb 2017 15:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334086#M75399</guid>
      <dc:creator>LittlesasMaster</dc:creator>
      <dc:date>2017-02-18T15:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334119#M75423</link>
      <description>&lt;P&gt;Have you tried using proc import with the dbms=xlsx option?&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>Sat, 18 Feb 2017 22:24:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334119#M75423</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-02-18T22:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334134#M75433</link>
      <description>&lt;P&gt;You have an XLS file, not XLSX. Try some of the older engines such as XLS or Excel2003&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 22:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334134#M75433</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-18T22:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334138#M75435</link>
      <description>&lt;P&gt;A quick and dirty solution would be to do a FILE SAVE AS in Excel as CSV, then import the resulting CSV file using PROC IMPORT DBMS = CSV.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 22:40:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334138#M75435</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-02-18T22:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334150#M75437</link>
      <description>&lt;P&gt;Hi Art297,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc import is working for both xls and xlsx files,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually I have got 12 sheets in my workbook, so I was planning if I can define a libname with excel engine&lt;/P&gt;
&lt;P&gt;then I can directly use those sheets (those will apear with $ and sheet name).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dharmendra&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2017 02:35:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334150#M75437</guid>
      <dc:creator>LittlesasMaster</dc:creator>
      <dc:date>2017-02-19T02:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334151#M75438</link>
      <description>&lt;P&gt;Hi SAsKiwi,&lt;/P&gt;
&lt;P&gt;I have so many sheets, so I would need to run proc import so many times.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2017 02:37:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334151#M75438</guid>
      <dc:creator>LittlesasMaster</dc:creator>
      <dc:date>2017-02-19T02:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334166#M75446</link>
      <description>&lt;P&gt;OK, this was just a thought if you couldn't get an Excel LIBNAME working at all.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2017 05:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334166#M75446</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-02-19T05:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334172#M75448</link>
      <description>&lt;P&gt;I thought an earlier version of the XLSX engine was available in SAS 9.3 TS1M3. Definitely for exporting, not sure about importing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have this problem solved please mark it as such, otherwise clarify which engines you've tried and haven't worked.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2017 07:42:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334172#M75448</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-19T07:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334181#M75450</link>
      <description>&lt;P&gt;Trouble with the EXCEL engine is usually a sign that your SAS and Microsoft Office installations are using different number of bits (32 vs 64). Can you get a different installation of either so that they are compatible?&lt;/P&gt;
&lt;P&gt;Or just upgrade to SAS 9.4 and use the XLS engine on your LIBNAME statement. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that SAS 9.3 is now over 4 and half years old.&lt;/P&gt;
&lt;P&gt;From Rick's blog posting:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-software.html" target="_blank"&gt;http://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-software.html&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Releases;
format Date DATE7.;
input Category $13. Release $9. Date DATE9. StatRelease $5.;
datalines;
Ancient      8.0      01Nov1999 
Ancient      8.1      01Jul2000 
Ancient      8.2      01Mar2001 
Ancient      9.0      01Oct2002 
Ancient      9.1      01Dec2003 
Ancient      9.1.3    01Aug2004 
Ancient      9.2      01Mar2008 9.2
Old          9.2m2    01Apr2010 9.22
Old          9.3      12Jul2011 9.3
Old          9.3m2    29Aug2012 12.1
Recent       9.4      10Jul2013 12.3
Recent       9.4m1    15Dec2013 13.1
Recent       9.4m2    05Aug2014 13.2
Recent       9.4m3    14Jul2015 14.1
Recent       9.4m4    16Nov2016 14.2
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2017 14:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-Libname-statement/m-p/334181#M75450</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-02-19T14:20:58Z</dc:date>
    </item>
  </channel>
</rss>

