<?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: Importing Excel Files (64bit) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-Excel-Files-64bit/m-p/388074#M93087</link>
    <description>&lt;P&gt;It just highlights the issues with propreitary file formats. &amp;nbsp;XLS is Microsofts old binary Excel file format - it is proprietary and totally unusable without license and knowledge of the file format. &amp;nbsp;Even M have acknowledged that open formats are better, hence have moved onto Open Office format XLSX which is actually a zip file containing XML files and directories. &amp;nbsp;Also bear in mind that your Office system needs to have the correct bitness for operation, a blog on it can be found here;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2012/05/01/64-bit-gotchas/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2012/05/01/64-bit-gotchas/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My top suggestion for any data transfer, use plain text files such as Comma Seperated Variable files or XML. &amp;nbsp;This is totally portable across systems, can be read by any application, and with a properly written datastep import program reads in 100% correct without guessing (proc import is a guessing procedure which tries to guess your data).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A secondary suggestion would be to sav the file as XLSX so at least then you are using the latest version of Excel, but even then cross portability, future updates and such may have the same impact on these files, and using proc import on it will still be guesssing what the data should look like.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2017 08:04:13 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-08-15T08:04:13Z</dc:date>
    <item>
      <title>Importing Excel Files (64bit)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Excel-Files-64bit/m-p/387986#M93060</link>
      <description>&lt;P&gt;I recently upgraded 32bit to 64bit SAS (and Excel remained at 32bit).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Historically i had been using proc import to import xls file (such as below)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;PROC IMPORT DATAFILE="test.xls"&lt;BR /&gt;OUT=DATASET&lt;BR /&gt;DBMS=EXCEL REPLACE;&lt;BR /&gt;SHEET="SHEET";&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;USEDATE=NO;&lt;BR /&gt;MIXED=YES;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i was able to run this no problem. However after i upgraded to 64bit SAS i am no longer able to use this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only way i can import xls file is below.. But this doesn't allow me to use extra options like getnames usedate..&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc import out=DATASET&lt;BR /&gt;datafile='test.xls'&lt;BR /&gt;dbms=xls replace;&lt;BR /&gt;sheet='SHEET1';&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a workaround to force SAS to those options? When i import xls file, the date fields show up as&amp;nbsp;38443 to 42826.. in the original excel file they show up as&amp;nbsp;4/1/2016 &amp;nbsp;12:01:00 AM..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone have solution for this? This is very frustrating - i thought it'd be easier than this but very disappointed.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 21:13:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Excel-Files-64bit/m-p/387986#M93060</guid>
      <dc:creator>ysk</dc:creator>
      <dc:date>2017-08-14T21:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Excel Files (64bit)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Excel-Files-64bit/m-p/387993#M93062</link>
      <description>&lt;P&gt;If you're disappointed because you have to ask a &amp;nbsp;question, coding is going to be an interesting endeavor for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried the DBMS=XLSX option with PROC IMPORT?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 21:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Excel-Files-64bit/m-p/387993#M93062</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-14T21:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Excel Files (64bit)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Excel-Files-64bit/m-p/388074#M93087</link>
      <description>&lt;P&gt;It just highlights the issues with propreitary file formats. &amp;nbsp;XLS is Microsofts old binary Excel file format - it is proprietary and totally unusable without license and knowledge of the file format. &amp;nbsp;Even M have acknowledged that open formats are better, hence have moved onto Open Office format XLSX which is actually a zip file containing XML files and directories. &amp;nbsp;Also bear in mind that your Office system needs to have the correct bitness for operation, a blog on it can be found here;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2012/05/01/64-bit-gotchas/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2012/05/01/64-bit-gotchas/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My top suggestion for any data transfer, use plain text files such as Comma Seperated Variable files or XML. &amp;nbsp;This is totally portable across systems, can be read by any application, and with a properly written datastep import program reads in 100% correct without guessing (proc import is a guessing procedure which tries to guess your data).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A secondary suggestion would be to sav the file as XLSX so at least then you are using the latest version of Excel, but even then cross portability, future updates and such may have the same impact on these files, and using proc import on it will still be guesssing what the data should look like.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 08:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Excel-Files-64bit/m-p/388074#M93087</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-08-15T08:04:13Z</dc:date>
    </item>
  </channel>
</rss>

