<?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: can't get data from Excel file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326927#M72897</link>
    <description>&lt;DIV class="sasSource"&gt;&amp;nbsp;libname prod xlsx "/folders/myfolders/SAS/book1.xlsx";&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Log&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;55&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;56 libname prod xlsx "/folders/myfolders/SAS/book1.xlsx";&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Libref PROD was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Engine: XLSX&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Physical Name: /folders/myfolders/SAS/book1.xlsx&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;57&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;58 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;70&lt;/DIV&gt;</description>
    <pubDate>Tue, 24 Jan 2017 03:59:38 GMT</pubDate>
    <dc:creator>KK_QQ</dc:creator>
    <dc:date>2017-01-24T03:59:38Z</dc:date>
    <item>
      <title>can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326616#M72774</link>
      <description>&lt;P&gt;I am using SAS University Edition. I tried to using below statment to access excel file&lt;/P&gt;&lt;P&gt;libname prod xlsx "/folders/myfolders/SAS/book1.xlsx";&lt;/P&gt;&lt;P&gt;Actually there is no error in log. But I can only see the prod libref is created but there is no way to access the data in the Excel file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach the book1 file, from sheet2 you can see the result from proc contents, there is connection, but can't read data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 05:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326616#M72774</guid>
      <dc:creator>KK_QQ</dc:creator>
      <dc:date>2017-01-23T05:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326618#M72776</link>
      <description>&lt;P&gt;Try PROC IMPORT as described here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-Import-an-Excel-File-to-SAS-University-Edition/ta-p/223724" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-Import-an-Excel-File-to-SAS-University-Edition/ta-p/223724&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 06:13:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326618#M72776</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-01-23T06:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326623#M72778</link>
      <description>&lt;P&gt;How did you try and 'read' the file. Did that generate an error? Include your code and log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 07:45:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326623#M72778</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-23T07:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326927#M72897</link>
      <description>&lt;DIV class="sasSource"&gt;&amp;nbsp;libname prod xlsx "/folders/myfolders/SAS/book1.xlsx";&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Log&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;55&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;56 libname prod xlsx "/folders/myfolders/SAS/book1.xlsx";&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Libref PROD was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Engine: XLSX&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Physical Name: /folders/myfolders/SAS/book1.xlsx&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;57&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;58 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;70&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Jan 2017 03:59:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326927#M72897</guid>
      <dc:creator>KK_QQ</dc:creator>
      <dc:date>2017-01-24T03:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326929#M72898</link>
      <description>&lt;P&gt;Import is working. But I feel it works more like input, create new dataset. Not like libname create a link to file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 04:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326929#M72898</guid>
      <dc:creator>KK_QQ</dc:creator>
      <dc:date>2017-01-24T04:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326930#M72899</link>
      <description>Sorry, I mean infile</description>
      <pubDate>Tue, 24 Jan 2017 04:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326930#M72899</guid>
      <dc:creator>KK_QQ</dc:creator>
      <dc:date>2017-01-24T04:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326935#M72901</link>
      <description>&lt;P&gt;Did you try accessing the data with a data step? Post that code&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 04:32:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/326935#M72901</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-24T04:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/327249#M72987</link>
      <description>&lt;P&gt;No, I can't. After I use libname, there have libref created, but it empty, there is no data.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 04:39:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/327249#M72987</guid>
      <dc:creator>KK_QQ</dc:creator>
      <dc:date>2017-01-25T04:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: can't get data from Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/327255#M72990</link>
      <description>&lt;P&gt;How do you know it's empty?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you try a data step?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data want;&lt;/P&gt;
&lt;P&gt;set libname.'Sheet1$'n;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 06:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-t-get-data-from-Excel-file/m-p/327255#M72990</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-25T06:08:13Z</dc:date>
    </item>
  </channel>
</rss>

