<?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 import Excel file error in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521552#M4215</link>
    <description>&lt;P&gt;I'm trying to import an Excel file but receive the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Connect: Class not registered&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;ERROR: Database error. Examine fields and/or messages below.&lt;/P&gt;&lt;P&gt;The file specified is not an Excel 4, 5, or 7 (Excel 95) file.&lt;/P&gt;&lt;P&gt;ERROR: Database table must be entered first&lt;/P&gt;&lt;P&gt;ERROR: Database table must be entered first&lt;/P&gt;&lt;P&gt;ERROR: File WORK._IMEX_.DATA does not exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code I used:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;IMPORT&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="4"&gt;OUT&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;= data&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;DATAFILE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;= &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="4"&gt;"directory\filename.xls"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;DBMS&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=EXCEL REPLACE;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;RANGE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="4"&gt;"Sheet$"&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;GETNAMES&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;MIXED&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;SCANTEXT&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;USEDATE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;SCANTIME&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="4"&gt;Any suggestions on what it could be?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="4"&gt;Thank you!&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 16:47:22 GMT</pubDate>
    <dc:creator>kath_sven</dc:creator>
    <dc:date>2018-12-14T16:47:22Z</dc:date>
    <item>
      <title>import Excel file error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521552#M4215</link>
      <description>&lt;P&gt;I'm trying to import an Excel file but receive the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Connect: Class not registered&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;ERROR: Database error. Examine fields and/or messages below.&lt;/P&gt;&lt;P&gt;The file specified is not an Excel 4, 5, or 7 (Excel 95) file.&lt;/P&gt;&lt;P&gt;ERROR: Database table must be entered first&lt;/P&gt;&lt;P&gt;ERROR: Database table must be entered first&lt;/P&gt;&lt;P&gt;ERROR: File WORK._IMEX_.DATA does not exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code I used:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;IMPORT&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="4"&gt;OUT&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;= data&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;DATAFILE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;= &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="4"&gt;"directory\filename.xls"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;DBMS&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=EXCEL REPLACE;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;RANGE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="4"&gt;"Sheet$"&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;GETNAMES&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;MIXED&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;SCANTEXT&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;USEDATE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="4"&gt;SCANTIME&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="4"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="4"&gt;Any suggestions on what it could be?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="4"&gt;Thank you!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 16:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521552#M4215</guid>
      <dc:creator>kath_sven</dc:creator>
      <dc:date>2018-12-14T16:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: import Excel file error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521560#M4220</link>
      <description>&lt;P&gt;does your Excel file have xls or xlsx?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 17:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521560#M4220</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-12-14T17:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: import Excel file error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521562#M4221</link>
      <description>&lt;P&gt;Is this a new issue?&lt;/P&gt;
&lt;P&gt;Have you been able to import an Excel file before?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please check your licensing and see if you have SAS Access to PCFILES which is what allows you import Excel files. If you do not have this module licensed I do not believe you can import an Excel file, or at least not easily. If this is the case there are a few workarounds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;

proc setinit;run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/251296"&gt;@kath_sven&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm trying to import an Excel file but receive the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Connect: Class not registered&lt;/P&gt;
&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;
&lt;P&gt;ERROR: Database error. Examine fields and/or messages below.&lt;/P&gt;
&lt;P&gt;The file specified is not an Excel 4, 5, or 7 (Excel 95) file.&lt;/P&gt;
&lt;P&gt;ERROR: Database table must be entered first&lt;/P&gt;
&lt;P&gt;ERROR: Database table must be entered first&lt;/P&gt;
&lt;P&gt;ERROR: File WORK._IMEX_.DATA does not exist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code I used:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="4" color="#000080"&gt;IMPORT&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="4" color="#0000ff"&gt;OUT&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;= data&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#0000ff"&gt;DATAFILE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;= &lt;/FONT&gt;&lt;FONT face="Courier New" size="4" color="#800080"&gt;"directory\filename.xls"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#0000ff"&gt;DBMS&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=EXCEL REPLACE;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#0000ff"&gt;RANGE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="4" color="#800080"&gt;"Sheet$"&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#0000ff"&gt;GETNAMES&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#0000ff"&gt;MIXED&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#0000ff"&gt;SCANTEXT&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#0000ff"&gt;USEDATE&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#0000ff"&gt;SCANTIME&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;=YES;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4" color="#000080"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="4"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4"&gt;Any suggestions on what it could be?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="4"&gt;Thank you!&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 17:16:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521562#M4221</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-14T17:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: import Excel file error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521576#M4225</link>
      <description>&lt;P&gt;What is the version of your excel ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if it is a latest version (2010 or above) try saving it as .xlsx, change the option to&amp;nbsp; dbms=xlsx&amp;nbsp; and run import.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 17:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521576#M4225</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2018-12-14T17:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: import Excel file error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521621#M4242</link>
      <description>&lt;P&gt;thank you everyone for your replies! The problem was fixed after going back to Office 2016 instead of Office 365. I don't know the reason but apparently Office 365 creates problems when importing files.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 19:46:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/import-Excel-file-error/m-p/521621#M4242</guid>
      <dc:creator>kath_sven</dc:creator>
      <dc:date>2018-12-14T19:46:54Z</dc:date>
    </item>
  </channel>
</rss>

