<?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 error in importing excel file while using macro in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/error-in-importing-excel-file-while-using-macro/m-p/702156#M215048</link>
    <description>&lt;P&gt;%MACRO excel (OUTPUT=,INFILE=,WSHEET=);&lt;BR /&gt;PROC import OUT= &amp;amp;OUTPUT&lt;BR /&gt;DATAFILE="P:\FALL COURSES 2020\SAS\final project\&amp;amp;INFILE"&lt;BR /&gt;DBMS=xls;&lt;BR /&gt;SHEET="&amp;amp;WSHEET";&lt;BR /&gt;PROC CONTENTS DATA=&amp;amp;OUTPUT;&lt;BR /&gt;PROC SORT DATA=&amp;amp;OUTPUT;&lt;BR /&gt;BY ID;&lt;BR /&gt;RUN;&lt;BR /&gt;%MEND excel;&lt;BR /&gt;%excel(OUTPUT=Site1,INFILE=Site1.XLS,WSHEET=SHEET1);&lt;BR /&gt;%excel(OUTPUT=Site2,INFILE=Site2.XLS,WSHEET=SHEET1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;ERROR: File WORK.SITE2.DATA does not exist.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Nov 2020 05:51:36 GMT</pubDate>
    <dc:creator>4301</dc:creator>
    <dc:date>2020-11-28T05:51:36Z</dc:date>
    <item>
      <title>error in importing excel file while using macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-in-importing-excel-file-while-using-macro/m-p/702156#M215048</link>
      <description>&lt;P&gt;%MACRO excel (OUTPUT=,INFILE=,WSHEET=);&lt;BR /&gt;PROC import OUT= &amp;amp;OUTPUT&lt;BR /&gt;DATAFILE="P:\FALL COURSES 2020\SAS\final project\&amp;amp;INFILE"&lt;BR /&gt;DBMS=xls;&lt;BR /&gt;SHEET="&amp;amp;WSHEET";&lt;BR /&gt;PROC CONTENTS DATA=&amp;amp;OUTPUT;&lt;BR /&gt;PROC SORT DATA=&amp;amp;OUTPUT;&lt;BR /&gt;BY ID;&lt;BR /&gt;RUN;&lt;BR /&gt;%MEND excel;&lt;BR /&gt;%excel(OUTPUT=Site1,INFILE=Site1.XLS,WSHEET=SHEET1);&lt;BR /&gt;%excel(OUTPUT=Site2,INFILE=Site2.XLS,WSHEET=SHEET1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;ERROR: File WORK.SITE2.DATA does not exist.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 05:51:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-in-importing-excel-file-while-using-macro/m-p/702156#M215048</guid>
      <dc:creator>4301</dc:creator>
      <dc:date>2020-11-28T05:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: error in importing excel file while using macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-in-importing-excel-file-while-using-macro/m-p/702162#M215052</link>
      <description>&lt;P&gt;The &lt;EM&gt;last&lt;/EM&gt; ERROR is always the&amp;nbsp;&lt;EM&gt;least important&lt;/EM&gt;. The&amp;nbsp;&lt;EM&gt;first&lt;/EM&gt; ERROR or WARNING is most important.&lt;/P&gt;
&lt;P&gt;And before you start making code dynamic, make sure that it works.&lt;/P&gt;
&lt;P&gt;Run your import code without any macro variables, and post the complete log of the step if it fails. Use a window opened with &amp;lt;/&amp;gt; to post the log.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 07:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-in-importing-excel-file-while-using-macro/m-p/702162#M215052</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-28T07:44:24Z</dc:date>
    </item>
  </channel>
</rss>

