<?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 xlsx file problem in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647952#M193966</link>
    <description>&lt;P&gt;Just one sheet and yes, tried with the SHEET option as well with the same ERROR message.&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 01:46:01 GMT</pubDate>
    <dc:creator>Avi02</dc:creator>
    <dc:date>2020-05-15T01:46:01Z</dc:date>
    <item>
      <title>PROC IMPORT xlsx file problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647851#M193921</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I am trying to import a XLSX file and convert to a SAS dataset, but for some reason I get the below message in SAS Log which is very vague with no ERROR codes shown:&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;SAS Code:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;proc import datafile='../view/abc.xlsx'&lt;/P&gt;&lt;P&gt;dbms=xlsx replace&lt;/P&gt;&lt;P&gt;out=work.abc;&lt;/P&gt;&lt;P&gt;getnames=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;SAS log message&lt;/STRONG&gt;&lt;/U&gt;:&lt;/P&gt;&lt;P&gt;"No worksheets in the .XLSX file.&lt;/P&gt;&lt;P&gt;Requested input file is invalid.&lt;/P&gt;&lt;P&gt;ERROR: Import unsuccessful. See SAS Log for Details"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SAS&amp;nbsp;Software 9.4 (TS1M5) being run on&amp;nbsp;Linux 3.10.0-957.21.3.el7.x86_64 (LIN X64) platform.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something here? Anyways to resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Avi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 15:30:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647851#M193921</guid>
      <dc:creator>Avi02</dc:creator>
      <dc:date>2020-05-14T15:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT xlsx file problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647945#M193960</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;No worksheets in the .XLSX file.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How many sheets in your file? Did you try the &lt;FONT face="courier new,courier"&gt;sheet=&lt;/FONT&gt; statement?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 00:37:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647945#M193960</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-15T00:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT xlsx file problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647952#M193966</link>
      <description>&lt;P&gt;Just one sheet and yes, tried with the SHEET option as well with the same ERROR message.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 01:46:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647952#M193966</guid>
      <dc:creator>Avi02</dc:creator>
      <dc:date>2020-05-15T01:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT xlsx file problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647958#M193972</link>
      <description>&lt;P&gt;SAS does not see that sheet. It probably has some special attributes, though I am unsure what these might be. Try creating a new sheet with the same contents. Not that Excel provides no metadata, so reading an Excel file yields unpredictable results in terms of variable type or length.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 02:48:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-xlsx-file-problem/m-p/647958#M193972</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-15T02:48:15Z</dc:date>
    </item>
  </channel>
</rss>

