<?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 Unable to import xls file to sas dataset in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-import-xls-file-to-sas-dataset/m-p/215504#M16196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;Dear Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;I am trying to use several methods to import an xls file using sas code in SAS Enterprise Guide&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;And each yields errors .&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;The source file is located on a local file system.&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;I can import the file successfully using the SAS enterprise guide import task..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;Your help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;STRONG&gt;First Method : Proc Import&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;STRONG style="color: navy; font-family: 'Courier New'; background-position: initial;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-family: 'Courier New'; background-position: initial;"&gt;import&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;datafile&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background-position: initial;"&gt;'u:\testfile.xls'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;=excel&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;=work.out&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;STRONG style="color: navy; font-family: 'Courier New'; background-position: initial;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;The error I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; background-position: initial;"&gt;ERROR: Unable to open file u:\testfile.xls. It does not&amp;nbsp; exist or it is already opened exclusively by another user, or you need&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; permission to view its data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;STRONG&gt;Method 2 Using LibName Statement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt; myxls&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background-position: initial;"&gt;"u:\TestFile.xls"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;The error I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; background-position: initial;"&gt;ERROR: Connect: Class not registered&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; background-position: initial;"&gt;ERROR: Error in the LIBNAME statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Jun 2015 08:41:58 GMT</pubDate>
    <dc:creator>RafaelZ</dc:creator>
    <dc:date>2015-06-28T08:41:58Z</dc:date>
    <item>
      <title>Unable to import xls file to sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-import-xls-file-to-sas-dataset/m-p/215504#M16196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;Dear Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;I am trying to use several methods to import an xls file using sas code in SAS Enterprise Guide&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;And each yields errors .&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;The source file is located on a local file system.&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;I can import the file successfully using the SAS enterprise guide import task..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;Your help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;STRONG&gt;First Method : Proc Import&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;STRONG style="color: navy; font-family: 'Courier New'; background-position: initial;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-family: 'Courier New'; background-position: initial;"&gt;import&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;datafile&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background-position: initial;"&gt;'u:\testfile.xls'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;=excel&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;=work.out&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;STRONG style="color: navy; font-family: 'Courier New'; background-position: initial;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;The error I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; background-position: initial;"&gt;ERROR: Unable to open file u:\testfile.xls. It does not&amp;nbsp; exist or it is already opened exclusively by another user, or you need&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; permission to view its data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;STRONG&gt;Method 2 Using LibName Statement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-position: initial;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt; myxls&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background-position: initial;"&gt;"u:\TestFile.xls"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-position: initial;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;The error I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; background-position: initial;"&gt;ERROR: Connect: Class not registered&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11pt; font-family: Calibri, sans-serif; color: #222222; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; background-position: initial;"&gt;ERROR: Error in the LIBNAME statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 08:41:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-import-xls-file-to-sas-dataset/m-p/215504#M16196</guid>
      <dc:creator>RafaelZ</dc:creator>
      <dc:date>2015-06-28T08:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import xls file to sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-import-xls-file-to-sas-dataset/m-p/215505#M16197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you can see from many other questions in htis forum, it's a common misunderstanding that your local file system is available for your SAS code. It's available in the import tasks. SAS code is executed on your SAS Workspace server, so the given file path needs to be available from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 19:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-import-xls-file-to-sas-dataset/m-p/215505#M16197</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-06-28T19:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import xls file to sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-import-xls-file-to-sas-dataset/m-p/215506#M16198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much - i didn't know that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rafael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 08:04:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-import-xls-file-to-sas-dataset/m-p/215506#M16198</guid>
      <dc:creator>RafaelZ</dc:creator>
      <dc:date>2015-06-29T08:04:09Z</dc:date>
    </item>
  </channel>
</rss>

