<?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 hangs when reading .xlsx file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53783#M14892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can use libname pcfiles but it also hangs every once-in-a-while.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2012 04:27:14 GMT</pubDate>
    <dc:creator>Oleg_L</dc:creator>
    <dc:date>2012-04-09T04:27:14Z</dc:date>
    <item>
      <title>proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53772#M14881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is some sample code that I use to read in an Excel file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile="T:\X21AB100\X2100LIXI.xlsx" out=work.lixi dbms=excelcs replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=lixi;&lt;/P&gt;&lt;P&gt;title 'Test';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every once-in-a-while the proc import hangs when trying to read a file.&amp;nbsp; No error message is displayed.&lt;/P&gt;&lt;P&gt;It just hangs until I either kill the SAS window or end the "pcfservice" process.&amp;nbsp; If I copy the .xlsx file&lt;/P&gt;&lt;P&gt;to a new name and change the pathname in the code, it works.&amp;nbsp; Once this code hangs on a .xlsx&lt;/P&gt;&lt;P&gt;file no amount of copying or renaming will make sas read that same file out of the same directory.&lt;/P&gt;&lt;P&gt;Is there a way to debug this?&amp;nbsp; I do not have this file open in Excel while I am trying to run this code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 20:09:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53772#M14881</guid>
      <dc:creator>WesBarris</dc:creator>
      <dc:date>2012-04-02T20:09:27Z</dc:date>
    </item>
    <item>
      <title>proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53773#M14882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following might be applicable: &lt;A href="http://support.sas.com/kb/40/409.html"&gt;http://support.sas.com/kb/40/409.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 20:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53773#M14882</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-04-02T20:27:04Z</dc:date>
    </item>
    <item>
      <title>proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53774#M14883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found this article:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/35/064.html"&gt;http://support.sas.com/kb/35/064.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that mapped network drives are not supported when using the pcfilesserver which aparently one uses when importing data from .xlsx files.&amp;nbsp; I tried changing "T:" to the UNC equivalent and the import function worked.&amp;nbsp; The think that I don't understand is why drive letters work most of the time.&amp;nbsp; I would have thought that if drive letters were not supported in the pcfilesserver then they would never work.&amp;nbsp; In my case they work most of the time but sometimes cause SAS to hang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does everyone else use UNC paths when importing data from .xlsx files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 19:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53774#M14883</guid>
      <dc:creator>WesBarris</dc:creator>
      <dc:date>2012-04-03T19:26:56Z</dc:date>
    </item>
    <item>
      <title>proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53775#M14884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not just when using PC file servers.&amp;nbsp; I prefer UNC's all the time.&amp;nbsp; They are much more portable from machine to machine and user to user.&lt;/P&gt;&lt;P&gt;The only time you need to map drives is if you are running an old DOS program.&amp;nbsp; Wordperfect 5.1 anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 22:51:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53775#M14884</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-04-03T22:51:48Z</dc:date>
    </item>
    <item>
      <title>proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53776#M14885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom:&amp;nbsp; Do you REALLY have to select a Canadian company to pick on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wes: A nice and free tool for identifying UNCs was mentioned in the following SAS-L post: &lt;A href="http://listserv.uga.edu/cgi-bin/wa?A2=ind0803b&amp;amp;L=sas-l&amp;amp;D=0&amp;amp;P=3585"&gt;http://listserv.uga.edu/cgi-bin/wa?A2=ind0803b&amp;amp;L=sas-l&amp;amp;D=0&amp;amp;P=3585&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 23:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53776#M14885</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-04-03T23:56:42Z</dc:date>
    </item>
    <item>
      <title>proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53777#M14886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try replacing dbms=excel.Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile="T:\X21AB100\X2100LIXI.xlsx" out=work.lixi dbms=excel replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 03:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53777#M14886</guid>
      <dc:creator>shivas</dc:creator>
      <dc:date>2012-04-04T03:59:06Z</dc:date>
    </item>
    <item>
      <title>proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53778#M14887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have the same problem even with UNC paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 04:20:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53778#M14887</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2012-04-04T04:20:07Z</dc:date>
    </item>
    <item>
      <title>proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53779#M14888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; We have had a track with tech support on this problem several months ago. They have suggested to install some packs. But no success.&lt;/P&gt;&lt;P&gt;Finally, tech support wrote that they have made&amp;nbsp; tests on their machines and everything works fine.&lt;/P&gt;&lt;P&gt;I have this issue with xls files. I did not imported xlsx files yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running EG 4.3 (SAS 9.2) on Windows Server x64.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Oleg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 11:12:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53779#M14888</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2012-04-04T11:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53780#M14889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I contacted SAS support about this problem.&amp;nbsp; They said a number of things can cause this.&amp;nbsp; The first fix we tried appears to have fixed the problem.&amp;nbsp; The fix was to install the new 2010 ODBC drivers from the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A href="http://www.microsoft.com/download/en/details.aspx?id=13255"&gt;http://www.microsoft.com/download/en/details.aspx?id=13255&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After installing this I have not had proc import hang... yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 20:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53780#M14889</guid>
      <dc:creator>WesBarris</dc:creator>
      <dc:date>2012-04-05T20:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53781#M14890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We installed these drivers some months ago. No success. Proc import still hangs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2012 08:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53781#M14890</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2012-04-06T08:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53782#M14891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you use Libname + ODBC to import these xlsx files ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 02:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53782#M14891</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-04-09T02:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc import hangs when reading .xlsx file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53783#M14892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can use libname pcfiles but it also hangs every once-in-a-while.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 04:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-hangs-when-reading-xlsx-file/m-p/53783#M14892</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2012-04-09T04:27:14Z</dc:date>
    </item>
  </channel>
</rss>

