<?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: Reading xlsx file using libname statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86929#M18571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using sas 9.2 on windows server(64 bit) with sas/access to pcfiles&lt;/P&gt;&lt;P&gt;Here are the error messages I'm encountering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname test excel&amp;nbsp; "test1.xlsx";&lt;/P&gt;&lt;P&gt;Error: The Excel Engine cannot be found&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Error in the libname statement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I tried doing this.&lt;/P&gt;&lt;P&gt;libname test pcfiles "test1.xlsx";&lt;/P&gt;&lt;P&gt;Error: Incorrect syntax for the libname statement. This engine doesnt accept a physical name.&lt;/P&gt;&lt;P&gt;Error: Error in the libname statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2012 15:37:01 GMT</pubDate>
    <dc:creator>Analyticguru_09</dc:creator>
    <dc:date>2012-04-18T15:37:01Z</dc:date>
    <item>
      <title>Reading xlsx file using libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86926#M18568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to read a xlsx file using the libname statement.&lt;/P&gt;&lt;P&gt;here is the sample code:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;libname test1 PCFILES type=excel server = 'servername' port = 8261 path = "c:/test/dfsaa.xlsx";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did run the proc setinit; It showed sas/access to pc files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUt I'm still encountering the error message. plz help me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 22:31:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86926#M18568</guid>
      <dc:creator>Analyticguru_09</dc:creator>
      <dc:date>2012-04-17T22:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xlsx file using libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86927#M18569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your EORROR log ?&lt;/P&gt;&lt;P&gt;Sure. You can use this error message to search at&amp;nbsp; support.sas.com&amp;nbsp;&amp;nbsp; and find an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 06:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86927#M18569</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-04-18T06:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xlsx file using libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86928#M18570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Usually, you only need SERVERNAME and PORT options if, for example, you are on a UNIX system and are trying to access an Excel file on a Windows system. As Ksharp suggests, if you put the text of your error message into the search box on support.sas.com, you will most likely find a SAS Tech Support note that explains about the error message. For example, if you only have SAS 9.1.3 on your system, you will not be able to read .XLSX files with the LIBNAME engine, you would find out about this and other possible errors such as the ones listed here: (not an exhaustive list -- I just pasted a few links):&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/32/455.html" title="http://support.sas.com/kb/32/455.html"&gt;http://support.sas.com/kb/32/455.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/12/365.html" title="http://support.sas.com/kb/12/365.html"&gt;http://support.sas.com/kb/12/365.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/42/981.html" title="http://support.sas.com/kb/42/981.html"&gt;http://support.sas.com/kb/42/981.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; So your error message could be related to that. Or, since you didn't post the error message, the best thing to do is to go to support.sas.com and on the right side of the page, look for the SEARCH box (it will be orange). Cut and paste your error message into the search box. Alternately, open a track with Tech Support, by clicking on the link "Submit a Problem" on the left side of the support.sas.com main page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 13:54:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86928#M18570</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-04-18T13:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xlsx file using libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86929#M18571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using sas 9.2 on windows server(64 bit) with sas/access to pcfiles&lt;/P&gt;&lt;P&gt;Here are the error messages I'm encountering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname test excel&amp;nbsp; "test1.xlsx";&lt;/P&gt;&lt;P&gt;Error: The Excel Engine cannot be found&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Error in the libname statement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I tried doing this.&lt;/P&gt;&lt;P&gt;libname test pcfiles "test1.xlsx";&lt;/P&gt;&lt;P&gt;Error: Incorrect syntax for the libname statement. This engine doesnt accept a physical name.&lt;/P&gt;&lt;P&gt;Error: Error in the libname statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 15:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86929#M18571</guid>
      <dc:creator>Analyticguru_09</dc:creator>
      <dc:date>2012-04-18T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reading xlsx file using libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86930#M18572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue resolved. I forget to mention the&amp;nbsp; "path = " in the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 18:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-xlsx-file-using-libname-statement/m-p/86930#M18572</guid>
      <dc:creator>Analyticguru_09</dc:creator>
      <dc:date>2012-04-18T18:44:47Z</dc:date>
    </item>
  </channel>
</rss>

