<?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: MACRO VARIABLE in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/MACRO-VARIABLE/m-p/835095#M330125</link>
    <description>&lt;P&gt;A macro variable persists throughout a&amp;nbsp;&lt;EM&gt;SAS session&lt;/EM&gt;. As long as the programs are run in a single session, the macro variable will be there.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2022 03:15:27 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-09-26T03:15:27Z</dc:date>
    <item>
      <title>MACRO VARIABLE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MACRO-VARIABLE/m-p/835093#M330124</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%LET PERFDATE=&amp;amp;G_JOB_DATE
sampdate=intnx('month',"&amp;amp;PERFDATE."d,-12,'end');&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if I have a series of 10 programs P1.sas to&amp;nbsp; P10.sas&amp;nbsp; if I let the above in P3.sas, does that mean PERFDATE stays as G_JOB_DATE till the end of P10.sas program unless I reassign it to something else in any programs after P3.sas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 03:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MACRO-VARIABLE/m-p/835093#M330124</guid>
      <dc:creator>HeatherNewton</dc:creator>
      <dc:date>2022-09-26T03:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: MACRO VARIABLE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MACRO-VARIABLE/m-p/835095#M330125</link>
      <description>&lt;P&gt;A macro variable persists throughout a&amp;nbsp;&lt;EM&gt;SAS session&lt;/EM&gt;. As long as the programs are run in a single session, the macro variable will be there.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 03:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MACRO-VARIABLE/m-p/835095#M330125</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-09-26T03:15:27Z</dc:date>
    </item>
  </channel>
</rss>

