<?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: Code to execute at the end of every SAS session in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Code-to-execute-at-the-end-of-every-SAS-session/m-p/131197#M26748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;options -&amp;gt; &lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/64789/HTML/default/viewer.htm#n0rjd82dx13qi7n1mw6rsljm7x1o.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/64789/HTML/default/viewer.htm#n0rjd82dx13qi7n1mw6rsljm7x1o.htm"&gt;SAS(R) 9.4 System Options: Reference&lt;/A&gt;&lt;BR /&gt; termstmt executed at ending&lt;/P&gt;&lt;P&gt;initstmt executed at starting note the order with autoexec &lt;BR /&gt;These are not working with Eguide or other BI DI server appoarches&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2013 13:55:09 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2013-07-12T13:55:09Z</dc:date>
    <item>
      <title>Code to execute at the end of every SAS session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-to-execute-at-the-end-of-every-SAS-session/m-p/131195#M26746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to have a piece of SAS code executed every time a SAS session closes. Similar to AUTOEXEC.SAS, which gets executed at the start of every session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Selva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 19:57:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-to-execute-at-the-end-of-every-SAS-session/m-p/131195#M26746</guid>
      <dc:creator>SelvaN</dc:creator>
      <dc:date>2013-07-10T19:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Code to execute at the end of every SAS session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-to-execute-at-the-end-of-every-SAS-session/m-p/131196#M26747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be a better solution, but how about adding the line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;dm 'bye';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the end of the SAS code you want to run when leaving SAS. Then when you want to exit SAS just run your code with this extra line at the end and it should close SAS for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 12:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-to-execute-at-the-end-of-every-SAS-session/m-p/131196#M26747</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2013-07-12T12:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Code to execute at the end of every SAS session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-to-execute-at-the-end-of-every-SAS-session/m-p/131197#M26748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;options -&amp;gt; &lt;A href="http://support.sas.com/documentation/cdl/en/lesysoptsref/64789/HTML/default/viewer.htm#n0rjd82dx13qi7n1mw6rsljm7x1o.htm" title="http://support.sas.com/documentation/cdl/en/lesysoptsref/64789/HTML/default/viewer.htm#n0rjd82dx13qi7n1mw6rsljm7x1o.htm"&gt;SAS(R) 9.4 System Options: Reference&lt;/A&gt;&lt;BR /&gt; termstmt executed at ending&lt;/P&gt;&lt;P&gt;initstmt executed at starting note the order with autoexec &lt;BR /&gt;These are not working with Eguide or other BI DI server appoarches&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 13:55:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-to-execute-at-the-end-of-every-SAS-session/m-p/131197#M26748</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-07-12T13:55:09Z</dc:date>
    </item>
  </channel>
</rss>

