<?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: Reading Excel file in Unix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32174#M6218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://communities.sas.com/people/anandbillava" id="jive-55259615242674986405803"&gt;anandbillava&lt;/A&gt;, I was having the same problem.&amp;nbsp; I am unable to get SAS Access to PC File Formats to read a DBMS of Excel in UNIX.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off, thanks for the original post and also the responses.&amp;nbsp; It helped me find my solution for SAS 9.13 SP4 on AIX.&amp;nbsp; (SAS 9.2 looks a lot better.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uploaded the following binary Excel file via FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="1" cellspacing="0" class="jiveNoBorder" dir="ltr" style="width: 146px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;x&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;y&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;a&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;2&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;b&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;3&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;c&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;4&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;d&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;5&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;e&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;6&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;f&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;7&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;PROC IMPORT OUT= WORK.pctounix &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DATAFILE= "a unix file.xls" &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DBMS=EXCEL REPLACE; /* couldn't get this dbms to work */&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;SHEET="Sheet1$"; /* SAS 9.13 doesn't support Sheets */&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;GETNAMES=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;MIXED=NO;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;SCANTEXT=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;USEDATE=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;SCANTIME=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;STRONG style="font-family: arial,helvetica,sans-serif;"&gt;Code that worked...&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Helv;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;PROC IMPORT OUT= WORK.pctounix&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DATAFILE= "a unix file.xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DBMS=XLS REPLACE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;GETNAMES=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;MIXED=NO;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr" style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr" style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;If anyone is doing this with SAMBA (or similar product) and bypassing the FTP, please share your experience. &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;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;Other Useful papers and notes...&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/16/812.html"&gt;http://support.sas.com/kb/16/812.html&lt;/A&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings09/139-2009.pdf"&gt;http://support.sas.com/resources/papers/proceedings09/139-2009.pdf&lt;/A&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;Kim LeBouton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2011 02:35:33 GMT</pubDate>
    <dc:creator>KimLeBouton</dc:creator>
    <dc:date>2011-08-31T02:35:33Z</dc:date>
    <item>
      <title>Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32166#M6210</link>
      <description>Anybody has idea about imporint Excel file in unix to sas dataset.&lt;BR /&gt;
&lt;BR /&gt;
I tried proc import and libname engine.&lt;BR /&gt;
Unforunately both are noworking for me&lt;BR /&gt;
PROC IMPORT OUT = srcdat&lt;BR /&gt;
		            DATAFILE= "/home/user/test.xlsx" &lt;BR /&gt;
		            DBMS=EXCEL REPLACE;&lt;BR /&gt;
		     SHEET="&amp;amp;shtName"; &lt;BR /&gt;
		     GETNAMES=YES;&lt;BR /&gt;
			 SCANTIME=YES;&lt;BR /&gt;
		     MIXED=YES;	     &lt;BR /&gt;
		RUN;&lt;BR /&gt;
This resulted me saying DBMS type excel is not found.&lt;BR /&gt;
&lt;BR /&gt;
With the libname &lt;BR /&gt;
libname mxls PCFILES PATH='/home/user/test.xlsx';&lt;BR /&gt;
&lt;BR /&gt;
It gave me below error&lt;BR /&gt;
       -------&lt;BR /&gt;
       22&lt;BR /&gt;
ERROR: Libname MXLS is not assigned.&lt;BR /&gt;
ERROR: Error in the LIBNAME statement.&lt;BR /&gt;
ERROR 22-7: Invalid option name LIBNAME.&lt;BR /&gt;
&lt;BR /&gt;
Let me know if anybody has idea about what I am doing wrong ?</description>
      <pubDate>Wed, 10 Nov 2010 19:47:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32166#M6210</guid>
      <dc:creator>anandbillava</dc:creator>
      <dc:date>2010-11-10T19:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32167#M6211</link>
      <description>You might have a problem with your syntax.&lt;BR /&gt;
&lt;BR /&gt;
For example, I was able to reproduce your error with the following bad syntax:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
1237  libname mylib oracle libname;&lt;BR /&gt;
                           -------&lt;BR /&gt;
                           22&lt;BR /&gt;
ERROR: Libname MYLIB is not assigned.&lt;BR /&gt;
ERROR: Error in the LIBNAME statement.&lt;BR /&gt;
ERROR 22-7: Invalid option name LIBNAME.&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Try copying the libref statement into a separate program and submitting that by itself.  See if you get the same error.  Or, could you post your entire program here for others to try?</description>
      <pubDate>Wed, 10 Nov 2010 20:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32167#M6211</guid>
      <dc:creator>Daryl</dc:creator>
      <dc:date>2010-11-10T20:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32168#M6212</link>
      <description>In short, Excel is not supported on Unix.  It is documented in the Unix companion.&lt;BR /&gt;
&lt;BR /&gt;
Your best bet may be to export the Excel file to a .CSV file and read it in that way. See the google search&lt;BR /&gt;
&lt;BR /&gt;
csv to sas macro site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Wed, 10 Nov 2010 20:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32168#M6212</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-11-10T20:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32169#M6213</link>
      <description>You mean export the excle file to CSV outside SAS?</description>
      <pubDate>Wed, 10 Nov 2010 20:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32169#M6213</guid>
      <dc:creator>anandbillava</dc:creator>
      <dc:date>2010-11-10T20:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32170#M6214</link>
      <description>&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003094743.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003094743.htm&lt;/A&gt;</description>
      <pubDate>Wed, 10 Nov 2010 20:46:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32170#M6214</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-11-10T20:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32171#M6215</link>
      <description>Thank you. But nothing got worked for me. Do you have any sample programs which does that ?</description>
      <pubDate>Wed, 10 Nov 2010 22:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32171#M6215</guid>
      <dc:creator>anandbillava</dc:creator>
      <dc:date>2010-11-10T22:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32172#M6216</link>
      <description>&lt;A href="http://support.sas.com/kb/32/455.html" target="_blank"&gt;http://support.sas.com/kb/32/455.html&lt;/A&gt;&lt;BR /&gt;
or Maybe you need 'DBMS=EXCELCS '&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp

Message was edited by: Ksharp</description>
      <pubDate>Thu, 11 Nov 2010 09:07:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32172#M6216</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2010-11-11T09:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32173#M6217</link>
      <description>dbms=xls is supported for unix. It should work if you are using sas9.2 . I think for 9.1 the option sheet does not work with dbms=xls.</description>
      <pubDate>Mon, 15 Nov 2010 19:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32173#M6217</guid>
      <dc:creator>barwala</dc:creator>
      <dc:date>2010-11-15T19:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32174#M6218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://communities.sas.com/people/anandbillava" id="jive-55259615242674986405803"&gt;anandbillava&lt;/A&gt;, I was having the same problem.&amp;nbsp; I am unable to get SAS Access to PC File Formats to read a DBMS of Excel in UNIX.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off, thanks for the original post and also the responses.&amp;nbsp; It helped me find my solution for SAS 9.13 SP4 on AIX.&amp;nbsp; (SAS 9.2 looks a lot better.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uploaded the following binary Excel file via FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="1" cellspacing="0" class="jiveNoBorder" dir="ltr" style="width: 146px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;x&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;y&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;a&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;2&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;b&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;3&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;c&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;4&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;d&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;5&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;e&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;6&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="56%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P dir="ltr"&gt;f&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="44%"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;P&gt;7&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;PROC IMPORT OUT= WORK.pctounix &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DATAFILE= "a unix file.xls" &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DBMS=EXCEL REPLACE; /* couldn't get this dbms to work */&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;SHEET="Sheet1$"; /* SAS 9.13 doesn't support Sheets */&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;GETNAMES=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;MIXED=NO;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;SCANTEXT=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;USEDATE=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;SCANTIME=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;STRONG style="font-family: arial,helvetica,sans-serif;"&gt;Code that worked...&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Helv;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;PROC IMPORT OUT= WORK.pctounix&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DATAFILE= "a unix file.xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DBMS=XLS REPLACE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;GETNAMES=YES;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;MIXED=NO;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr" style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr" style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;If anyone is doing this with SAMBA (or similar product) and bypassing the FTP, please share your experience. &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;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;Other Useful papers and notes...&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/16/812.html"&gt;http://support.sas.com/kb/16/812.html&lt;/A&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings09/139-2009.pdf"&gt;http://support.sas.com/resources/papers/proceedings09/139-2009.pdf&lt;/A&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;Kim LeBouton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 02:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32174#M6218</guid>
      <dc:creator>KimLeBouton</dc:creator>
      <dc:date>2011-08-31T02:35:33Z</dc:date>
    </item>
    <item>
      <title>Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32175#M6219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on unix SAS has module SAS/Access to PC files&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still does not support the sophistication of the windows excel libname engine&lt;/P&gt;&lt;P&gt;libname libref excel 'excel workbook' ;&lt;/P&gt;&lt;P&gt;which "cans the import routines" to provide access to all objects in the workbook, like "SHEET1$"n and (my preference) ranges named like sas tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is very awkward to handle excel in unix.&lt;/P&gt;&lt;P&gt;With enterprise guide connected to SAS on unix, reading from excel became an "interactive" task because guide performed the data transfer from the windows environment to a csv-type file in unix for each sheet or range that I had to read. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe I just couldn't read the right manuals&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best of luck&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 22:01:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32175#M6219</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-08-31T22:01:41Z</dc:date>
    </item>
    <item>
      <title>Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32176#M6220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These issues are not isolated to SAS on unix.&amp;nbsp; It is more a issue of SAS in a 64bit enviornment vs. a 32bit enviornment.&amp;nbsp; DBMS=excel is a 32 bit engine as well as most of the other similar.&amp;nbsp; XLS and EXCELCS are the 64bit engines.&amp;nbsp; They have less functionality and compatibility that the 32bit engines.&amp;nbsp; The&amp;nbsp; module SAS/Access for PC Files that Peter mentions comes into play when either using the EXCELCS engine or the libname pcfiles engine.&amp;nbsp; It requires you to have a pc files server running on a windows machine is utilzing unix, I beleive.&amp;nbsp; Other options for accessing excel files are through the DDE components but I have never used these tools before.&amp;nbsp; I have also not utilized anything that require the pcfiles server.&amp;nbsp; I frequently do however use the XLS engine through proc import/export and have experienced very few issues (mostly under 64bit unix).&amp;nbsp; The XLS engine cannot read the newer versions of excel documents (2007++) where they switched from .xls type extensions to .xlsx types so usually in this situation I convert the document, through excel to a compatible format and then import the new file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 22:13:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32176#M6220</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-08-31T22:13:25Z</dc:date>
    </item>
    <item>
      <title>Reading Excel file in Unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32177#M6221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I remembered one additional way to access excel file data through SAS.&amp;nbsp; If you have the SAS/Access module for odbc connection you could read excel files through the excel odbc driver...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 22:36:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Excel-file-in-Unix/m-p/32177#M6221</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-08-31T22:36:25Z</dc:date>
    </item>
  </channel>
</rss>

