<?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: Autoexec in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Autoexec/m-p/135170#M27476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These statements do the same as ballarw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let filename=%sysfunc(getoption(autoexec));&lt;/P&gt;&lt;P&gt;%put filename:&amp;amp;filename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a configuration file to set the value of autoexec; which shows as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename:!projects_root\SAS-site\autosite.sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;projects_root is an environment variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on how you start sas the option sas.initial.folder may have a path worth knowing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put sasinitialfolder:%sysfunc(getoption(sasinitialfolder));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ron Fehd&amp;nbsp; macro maven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2014 22:08:34 GMT</pubDate>
    <dc:creator>Ron_MacroMaven</dc:creator>
    <dc:date>2014-03-06T22:08:34Z</dc:date>
    <item>
      <title>Autoexec</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Autoexec/m-p/135168#M27474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to create a macro variable with the name of the autoexec, which is being called by a program at run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:42:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Autoexec/m-p/135168#M27474</guid>
      <dc:creator>sasjourney</dc:creator>
      <dc:date>2014-03-06T15:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Autoexec</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Autoexec/m-p/135169#M27475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc sql; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select setting into: autoexec &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from dictionary.options &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where optname='AUTOEXEC'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUIT; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%PUT &amp;amp;AUTOEXEC; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 16:03:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Autoexec/m-p/135169#M27475</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-03-06T16:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Autoexec</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Autoexec/m-p/135170#M27476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These statements do the same as ballarw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let filename=%sysfunc(getoption(autoexec));&lt;/P&gt;&lt;P&gt;%put filename:&amp;amp;filename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a configuration file to set the value of autoexec; which shows as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename:!projects_root\SAS-site\autosite.sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;projects_root is an environment variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on how you start sas the option sas.initial.folder may have a path worth knowing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put sasinitialfolder:%sysfunc(getoption(sasinitialfolder));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ron Fehd&amp;nbsp; macro maven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 22:08:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Autoexec/m-p/135170#M27476</guid>
      <dc:creator>Ron_MacroMaven</dc:creator>
      <dc:date>2014-03-06T22:08:34Z</dc:date>
    </item>
  </channel>
</rss>

