<?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: error in using importing file in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291592#M968</link>
    <description>Hi, in addition, please check the documentation for DBMS=XLSX -- you show that your file name is .XLS, not .XLSX, so you may be trying the wrong engine to read the file, once you get your syntax worked out.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
    <pubDate>Sun, 14 Aug 2016 14:11:00 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-08-14T14:11:00Z</dc:date>
    <item>
      <title>error in using importing file</title>
      <link>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291580#M966</link>
      <description>&lt;P&gt;/** Import an XLSX file.&amp;nbsp; **/&lt;BR /&gt;libname g '/folders/myfolders/';&lt;BR /&gt;PROC IMPORT DATAFILE="/folders/myfolders/grocery_coupons.xls";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUT=g.permanent&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=XLSX&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPLACE;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;/** Print the results. **/&lt;/P&gt;&lt;P&gt;PROC PRINT DATA=g.permanent; RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="sasNote"&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Physical Name: /folders/myfolders&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;58 PROC IMPORT DATAFILE="/folders/myfolders/grocery_coupons.xls";&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Output SAS data set must be provided.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;59 OUT=g.permanent&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;60 DBMS=XLSX&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;61 REPLACE;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;62 RUN;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;63&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;64 /** Print the results. **/&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;65&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;66 PROC PRINT DATA=g.permanent; RUN;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 14 Aug 2016 12:27:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291580#M966</guid>
      <dc:creator>rishabhmehra13</dc:creator>
      <dc:date>2016-08-14T12:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: error in using importing file</title>
      <link>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291587#M967</link>
      <description>&lt;P&gt;The error is the same as in your last question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Analytics-U/Error-using-Proc-import/m-p/290978" target="_blank"&gt;https://communities.sas.com/t5/SAS-Analytics-U/Error-using-Proc-import/m-p/290978&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no semicolon after the file path.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2016 13:43:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291587#M967</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-14T13:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: error in using importing file</title>
      <link>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291592#M968</link>
      <description>Hi, in addition, please check the documentation for DBMS=XLSX -- you show that your file name is .XLS, not .XLSX, so you may be trying the wrong engine to read the file, once you get your syntax worked out.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sun, 14 Aug 2016 14:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291592#M968</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-08-14T14:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: error in using importing file</title>
      <link>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291593#M969</link>
      <description>&lt;P&gt;I always place the semi-colon on a multiple line statement on a new line and align it with the beginning of the statement. The lines in between are indented. The same way that I format DO/END blocks of code. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find that is makes it much less likely that I will accidently insert an extra&amp;nbsp;semi-colon into the middle of long statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname g '/folders/myfolders/';
PROC IMPORT
  DATAFILE='/folders/myfolders/grocery_coupons.xlsx'
  OUT=g.permanent
  DBMS=XLSX
  REPLACE
;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2016 14:51:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/error-in-using-importing-file/m-p/291593#M969</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-08-14T14:51:11Z</dc:date>
    </item>
  </channel>
</rss>

