<?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 MACROS IN SEG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/MACROS-IN-SEG/m-p/244778#M17415</link>
    <description>&lt;P&gt;&amp;nbsp; Macro _EG_CONDITIONAL_DROPDS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;_eg_conditional_dropds&lt;/I&gt;&lt;/STRONG&gt;(WORK.QUERY_FOR_ELIGIBILITY);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the purpose of this macro?&lt;/P&gt;&lt;P&gt;why do we need to write this code at the beginning of your code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2016 18:07:13 GMT</pubDate>
    <dc:creator>yook</dc:creator>
    <dc:date>2016-01-20T18:07:13Z</dc:date>
    <item>
      <title>MACROS IN SEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/MACROS-IN-SEG/m-p/244778#M17415</link>
      <description>&lt;P&gt;&amp;nbsp; Macro _EG_CONDITIONAL_DROPDS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;_eg_conditional_dropds&lt;/I&gt;&lt;/STRONG&gt;(WORK.QUERY_FOR_ELIGIBILITY);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the purpose of this macro?&lt;/P&gt;&lt;P&gt;why do we need to write this code at the beginning of your code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 18:07:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/MACROS-IN-SEG/m-p/244778#M17415</guid>
      <dc:creator>yook</dc:creator>
      <dc:date>2016-01-20T18:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: MACROS IN SEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/MACROS-IN-SEG/m-p/244779#M17416</link>
      <description>Enterprise Guide uses this macro (and others that are similar) to avoid warnings when general PROC SQL code creates a table that might already exists.  This macro drops (deletes) the table ahead of the next step, which creates an updated version.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It's not a practice that most developers have in their code, but since EG generates lots of code that can be chained together in a flow, statements like these can help avoid innocuous (but distracting) warnings.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2016 18:11:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/MACROS-IN-SEG/m-p/244779#M17416</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-20T18:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: MACROS IN SEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/MACROS-IN-SEG/m-p/244781#M17417</link>
      <description>&lt;P&gt;It drops the data set if it exists. This is to maintain the process integrity, makes sure that the process doesn't continue with data left over from previous run.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think it has to be at the beginning of the code, but where makes sense from a programming perspective. If you clean up all at the beginning, that's not a bad thing either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code for the macro is here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/38/454.html" target="_blank"&gt;http://support.sas.com/kb/38/454.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 18:12:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/MACROS-IN-SEG/m-p/244781#M17417</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-20T18:12:24Z</dc:date>
    </item>
  </channel>
</rss>

