<?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  64-bit excel 2010 file into 64-bit SAS 9.4 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154743#M40648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it.&amp;nbsp; Finally tried using the point &amp;amp; click import wizard and saving the code.&amp;nbsp; It gave me pretty much what I had already tried, but this version works so I'll take it.&amp;nbsp; I had avoided the wizard because we needed a programmatic solution.&amp;nbsp; Silly me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2014 22:14:53 GMT</pubDate>
    <dc:creator>KHaavik</dc:creator>
    <dc:date>2014-06-24T22:14:53Z</dc:date>
    <item>
      <title>proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154740#M40645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am trying to read an excel file into SAS.&amp;nbsp; Our office has had problems doing this in the past, and typically saves a spreadsheet as csv and imports that.&amp;nbsp; Boss wants a direct read from excel.&amp;nbsp; As far as I know this should be possible because we have 64-bit SAS, 64-bit Office, and SAS access to PC file formats.&amp;nbsp; I have tried using both .xlxs and .xlsb extensions.&amp;nbsp; The file exists, is readable, and is not in use by anyone else.&amp;nbsp; So why do I keep getting this error?&amp;nbsp; I would appreciate any insights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;proc import datafile="H:\var selection model for macro\TQIP Forced Variables by Cohort.xlsb"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;39 ! out=tmp replace;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;40&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;ERROR: Unable to open file H:\var selection model for macro\TQIP Forced Variables by Cohort.xlsb.&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It does not exist or it is already opened exclusively by another user, or you need&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&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;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.07 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.06 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 19:15:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154740#M40645</guid>
      <dc:creator>KHaavik</dc:creator>
      <dc:date>2014-06-24T19:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154741#M40646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am guessing that since you don't specify the dbms=Excel or other source option SAS is attempting to import a text file and failing.&lt;/P&gt;&lt;P&gt;Also, I have on occasion had files "locked" by Excel until I opened and closed another workbook.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 21:33:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154741#M40646</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-06-24T21:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154742#M40647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have also tried it with a dbms= excel and dbms=exelcs.&amp;nbsp; I guess I should have included more of the log.&amp;nbsp; I just opened the spreadsheet, saved it and closed it.&amp;nbsp; Still no joy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping I had a coding error but I am beginning to think SAS just won't do it.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;11&amp;nbsp;&amp;nbsp; Proc import datafile="I:\TQIP\2014 Analyses\Fall Report\Modeling\TQIP Forced Variables by&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;11 ! Cohort.xlsb"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;12&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 out=newdata ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;13&amp;nbsp;&amp;nbsp; Run;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;ERROR: Unable to open file I:\TQIP\2014 Analyses\Fall Report\Modeling\TQIP Forced Variables by&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cohort.xlsb. It does not&amp;nbsp; exist or it is already opened exclusively by another user, or you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; need permission to view its data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.09 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.04 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 21:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154742#M40647</guid>
      <dc:creator>KHaavik</dc:creator>
      <dc:date>2014-06-24T21:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154743#M40648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it.&amp;nbsp; Finally tried using the point &amp;amp; click import wizard and saving the code.&amp;nbsp; It gave me pretty much what I had already tried, but this version works so I'll take it.&amp;nbsp; I had avoided the wizard because we needed a programmatic solution.&amp;nbsp; Silly me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 22:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154743#M40648</guid>
      <dc:creator>KHaavik</dc:creator>
      <dc:date>2014-06-24T22:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154744#M40649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, for the benefit of others (like me &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; ) what was wrong? - PG &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 22:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154744#M40649</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-06-24T22:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154745#M40650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the code which worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;PROC IMPORT OUT= WORK.forcevars &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATAFILE= "I:\TQIP\2014 Analysis\Fall Report\Modeling\TQIP Forced Variables by Cohort.xlsx" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&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;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RANGE="'Forced Variables$'"; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GETNAMES=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIXED=NO;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCANTEXT=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USEDATE=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCANTIME=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;As far as I can tell, the thing I had wrong was that I did not have the range argument formed as single quotes followed by a dollar sign inside the double-quotes.&amp;nbsp; I would never have figured it out on my own.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Karina&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 22:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154745#M40650</guid>
      <dc:creator>KHaavik</dc:creator>
      <dc:date>2014-06-24T22:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154746#M40651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That might have been a problem, but I think the "does not exist" error message was caused by the spelling of "2014 analyses" in the path name. - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 00:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154746#M40651</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-06-25T00:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154747#M40652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh for Pete's sake.&amp;nbsp; How embarrassing.&amp;nbsp; I don't *think* I had that typo there the whole time, but I can't swear to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 00:23:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154747#M40652</guid>
      <dc:creator>KHaavik</dc:creator>
      <dc:date>2014-06-25T00:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc import  64-bit excel 2010 file into 64-bit SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154748#M40653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First ,download PCFILESERVER from support.sas.com by searching&amp;nbsp; download pcfileserver . After installing it , you can use dbms=xlsx to import excel2010.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 13:06:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-64-bit-excel-2010-file-into-64-bit-SAS-9-4/m-p/154748#M40653</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-06-25T13:06:50Z</dc:date>
    </item>
  </channel>
</rss>

