<?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: Difference in BASE sas &amp;amp; Macros? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368171#M87772</link>
    <description>&lt;P&gt;There is no difference. SAS macros are mainly used as code generation tools and must produce correct Base SAS code, the same as if you had done it without macros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note macros can be used to generate any SAS code not just Base SAS.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2017 06:37:59 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2017-06-19T06:37:59Z</dc:date>
    <item>
      <title>Difference in BASE sas &amp; Macros?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368167#M87771</link>
      <description>&lt;P&gt;What are the different operations or procedures which can be used in Base SAS but not Macros and Viceversa?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 06:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368167#M87771</guid>
      <dc:creator>SATISH2320</dc:creator>
      <dc:date>2017-06-19T06:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in BASE sas &amp; Macros?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368171#M87772</link>
      <description>&lt;P&gt;There is no difference. SAS macros are mainly used as code generation tools and must produce correct Base SAS code, the same as if you had done it without macros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note macros can be used to generate any SAS code not just Base SAS.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 06:37:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368171#M87772</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-06-19T06:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in BASE sas &amp; Macros?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368172#M87773</link>
      <description>&lt;P&gt;Misunderstanding of concepts here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The macro language in SAS is a &lt;U&gt;&lt;STRONG&gt;preprocessing&lt;/STRONG&gt;&lt;/U&gt; language. It is designed to let a programmer create dynamic Base SAS code.&lt;/P&gt;
&lt;P&gt;The macro language has its own elements that have a resemblance to elements of the data step language (for ease of use), but it does something completely different. The data step language deals with &lt;U&gt;data&lt;/U&gt;, the macro language deals with &lt;U&gt;code&lt;/U&gt; as its output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You cannot &lt;U&gt;use&lt;/U&gt; a procedure in the macro language, you &lt;U&gt;create the code&lt;/U&gt; for it with macro language.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS Certain interfaces exist that allow the macro language to use data step functions (%sysfunc) and the data step language to work with macro variables (sysget and call symput).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 06:39:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368172#M87773</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-19T06:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in BASE sas &amp; Macros?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368189#M87780</link>
      <description>&lt;P&gt;Actually: "&lt;SPAN&gt;the macro language deals with &lt;/SPAN&gt;&lt;U&gt;code&lt;/U&gt;&lt;SPAN&gt; as its output." - the macro pre-processor only deals with text. &amp;nbsp;If that is code all well an good, but it doesn't necessarily have to be. &amp;nbsp;All the macro language is a text generator, true it has some funky loops and things, but ultimately it just generates a string.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 08:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368189#M87780</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-06-19T08:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in BASE sas &amp; Macros?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368197#M87783</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt; yeah, right, but I wanted to avoid that some newbie then tries to manipulate strings contained in datasets with macro language. Young padawans come up with all kinds of crazy ideas concerning the macro language, as we all know.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 08:36:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Difference-in-BASE-sas-amp-Macros/m-p/368197#M87783</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-19T08:36:24Z</dc:date>
    </item>
  </channel>
</rss>

