<?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: Proc Import in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131335#M35697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arthur - appreciate the help!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried re-saving the file and importing using the XLS engine - both options still gave the error mentioned above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2012 18:39:32 GMT</pubDate>
    <dc:creator>kewong</dc:creator>
    <dc:date>2012-11-21T18:39:32Z</dc:date>
    <item>
      <title>Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131333#M35695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a new SAS user and running into a problem when trying to import an excel file. I'm using SAS 9.1 and import excel 1997-03 file.&amp;nbsp;&amp;nbsp; Below is my code and the error message I am receiving:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc import out = work.abc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datafile="P:\pathway\test.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=excel replace;&lt;/P&gt;&lt;P&gt;sheet="Sheet1";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;ERROR: Connect: Could not find installable ISAM.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;Connection Failed.&amp;nbsp; See log for details.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;Has anyone come across this before? Any potential solutions? I know I can save the file in a CSV format but I would rather import one XLS with 10 tabs, then 10 separate CSV files.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;Appreciate the help and thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 23:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131333#M35695</guid>
      <dc:creator>kewong</dc:creator>
      <dc:date>2012-11-20T23:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131334#M35696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One quick thing you could try: assuming you have a more recent version of excel than the one used to create the file, open the file in Excel, resave it, and try to import it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach you could try is to import the file using the XLS engine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 00:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131334#M35696</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-11-21T00:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131335#M35697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arthur - appreciate the help!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried re-saving the file and importing using the XLS engine - both options still gave the error mentioned above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 18:39:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131335#M35697</guid>
      <dc:creator>kewong</dc:creator>
      <dc:date>2012-11-21T18:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131336#M35698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of Excel do you have and can you post the file here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 18:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131336#M35698</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-11-21T18:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131337#M35699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Microsoft Excel 2007 - I can't provide you with the actual excel file due to confidentiality.&amp;nbsp; That being said, this error shows up with ANY excel file.&amp;nbsp; Even as simple as:&lt;/P&gt;&lt;P&gt;Name&amp;nbsp;&amp;nbsp; Score&lt;/P&gt;&lt;P&gt;a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 18:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131337#M35699</guid>
      <dc:creator>kewong</dc:creator>
      <dc:date>2012-11-21T18:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131338#M35700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After opening the file in Excel did you try to save it as a newer version of Excel and/or when you saved it did the extension change from xls to xlsx?&amp;nbsp; According to both SAS and MS, resaving the file should correct the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you import the attached file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 19:36:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131338#M35700</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-11-21T19:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131339#M35701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I save the file I was using to XLS extension (Microsoft 1997-2003 version) - it did not change from xls to xlsx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the codes using the file you attached:&lt;/P&gt;&lt;P&gt;Proc import out = work.abc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datafile="C:\Documents and Settings\kwong3\Desktop\teststuff.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=excel replace;&lt;/P&gt;&lt;P&gt;sheet="Sheet1";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname xls excel 'C:\Documents and Settings\kwong3\Desktop\teststuff.xls';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error still pops up.&amp;nbsp; Thank you for the continued advice, Arthur.&amp;nbsp; As frustrating as this is, I guess I can work around with saving my XLS to CSV files for now...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 19:44:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131339#M35701</guid>
      <dc:creator>kewong</dc:creator>
      <dc:date>2012-11-21T19:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131340#M35702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would submit this one to SAS tech support.&amp;nbsp; If they can find the solution, please post it back here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 19:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131340#M35702</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-11-21T19:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131341#M35703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the response I got from SAS Tech Support:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may be caused by a registry key not being present or not registered.&amp;nbsp;&amp;nbsp; Here is how you deal with this normally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage Note 11012: Error: Trying to establish connection and ISAM errors when importing and exporting PC File Formats&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you attempt to import or export PC File Formats such as Microsoft Excel or Microsoft Access files, the following error messages might appear: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error trying to establish connection.&lt;/P&gt;&lt;P&gt;Could not find installable ISAM.&lt;/P&gt;&lt;P&gt;The error message can appear even when the latest Microsoft Data Access Components (MDAC) have been installed. They appear because the registry entries listed in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines are not pointing to the correct locations. The most common problem is with the Msexcl40.dll where it is pointing to C:\Windows rather than C:\winnt or vice versa. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other dlls being pointed to incorrectly include msexch40.dll, msrd2x40.dll, msrd3x40.dll, msltus40.dll, mspbde40.dll, mstext40.dll, and msxbde40.dll. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For more information, consult Microsoft Knowledge Base articles 283881 and 209805 at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.microsoft.com"&gt;http://www.microsoft.com&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can also be caused by the MSEXCL40.DLL not being registered. You can check it as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Make sure that Msexcl40.dll exists in the system or system32 folder. &lt;/P&gt;&lt;P&gt;2.Open regedit. Make sure that the correct path to Msexcl40.dll is located at: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Excel &lt;/P&gt;&lt;P&gt;3.If both conditions exist, re-register the DLL using regsrv32.exe: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; “regsrv32 c:\winnt\system32\Msexcl40.dll” &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; (From Start&amp;gt;Run or command prompt.&amp;nbsp; You may need to find the location of regsrv32 before running.)&lt;/P&gt;&lt;P&gt;If 1 or 2 are false, you will need to install (or re-install) Office (or at the very least Excel). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 17:56:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131341#M35703</guid>
      <dc:creator>kewong</dc:creator>
      <dc:date>2012-11-27T17:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131342#M35704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kewong: and did that correct the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 17:59:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import/m-p/131342#M35704</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-11-27T17:59:43Z</dc:date>
    </item>
  </channel>
</rss>

