<?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: How to create permanent macro in SAS Studio? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-permanent-macro-in-SAS-Studio/m-p/839084#M331758</link>
    <description>&lt;P&gt;thank you, I will look into&amp;nbsp;&lt;SPAN&gt;autoexec.sas and thanks for the clarification on the terminology.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2022 21:14:36 GMT</pubDate>
    <dc:creator>Nietzsche</dc:creator>
    <dc:date>2022-10-17T21:14:36Z</dc:date>
    <item>
      <title>How to create permanent macro in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-permanent-macro-in-SAS-Studio/m-p/839079#M331755</link>
      <description>&lt;P&gt;Hi guys, I am doing lesson 6 of the Programming 1 course, here I have to create a macro that stores the file path to export destination folder.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ben_in_Canberra_0-1666040366689.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76257i2C1E7D7C62D8494E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ben_in_Canberra_0-1666040366689.png" alt="Ben_in_Canberra_0-1666040366689.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;however the macro disappears every time I reset my SAS studio session, is there a make the macro permanent?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 21:05:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-permanent-macro-in-SAS-Studio/m-p/839079#M331755</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-10-17T21:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create permanent macro in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-permanent-macro-in-SAS-Studio/m-p/839081#M331757</link>
      <description>&lt;P&gt;First thing.&amp;nbsp; That code is not creating a macro.&amp;nbsp; It is creating a macro variable (also called a symbol).&amp;nbsp; A macro is defined by the %MACRO statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The answer is NO.&amp;nbsp; There is no such thing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you can create an autoexec.sas file that runs every time you start a new SAS session.&amp;nbsp; So you could put code in there that creates the macro variable or does anything else you want to happen every time you start SAS.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 21:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-permanent-macro-in-SAS-Studio/m-p/839081#M331757</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-10-17T21:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create permanent macro in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-permanent-macro-in-SAS-Studio/m-p/839084#M331758</link>
      <description>&lt;P&gt;thank you, I will look into&amp;nbsp;&lt;SPAN&gt;autoexec.sas and thanks for the clarification on the terminology.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 21:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-permanent-macro-in-SAS-Studio/m-p/839084#M331758</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-10-17T21:14:36Z</dc:date>
    </item>
  </channel>
</rss>

