<?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: Clear oracle library at end of the sas session in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417446#M11410</link>
    <description>&lt;P&gt;You can easily clear all datasets from a library (&lt;A href="https://stackoverflow.com/questions/6659293/deleting-all-datasets-in-a-library" target="_self"&gt;source&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=lib kill;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if there's an equivalent to the &lt;A href="http://www.sascommunity.org/wiki/Autoexec" target="_self"&gt;autoexec&lt;/A&gt; but at the end, rather than beginning, of a SAS session. This could be a good opportunity to educate the users on the difference between work and permanent libraries, but I agree that it would be nice to have this functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I submitted a comment to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt; on his &lt;A href="https://blogs.sas.com/content/sasdummy/2011/01/10/you-asked-for-it-the-autoexec-process-flow/" target="_self"&gt;related blog article&lt;/A&gt;. If there's not a way to have an autoexec on session close, I'd say we should submit it as a &lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas" target="_self"&gt;SASware Ballot Idea&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2017 15:51:29 GMT</pubDate>
    <dc:creator>paulkaefer</dc:creator>
    <dc:date>2017-11-30T15:51:29Z</dc:date>
    <item>
      <title>Clear oracle library at end of the sas session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417431#M11409</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;I created a oracle library to use as "work" in sas guide, where the users can create "work" tables directly in oracle. In our cenary the dimensions and facts are in oracle enviroment and this approach otimises the querys. I searching for a way to delete this "oracle work tables" after the end of the sas session.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 15:37:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417431#M11409</guid>
      <dc:creator>dcmacedo</dc:creator>
      <dc:date>2017-11-30T15:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Clear oracle library at end of the sas session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417446#M11410</link>
      <description>&lt;P&gt;You can easily clear all datasets from a library (&lt;A href="https://stackoverflow.com/questions/6659293/deleting-all-datasets-in-a-library" target="_self"&gt;source&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=lib kill;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if there's an equivalent to the &lt;A href="http://www.sascommunity.org/wiki/Autoexec" target="_self"&gt;autoexec&lt;/A&gt; but at the end, rather than beginning, of a SAS session. This could be a good opportunity to educate the users on the difference between work and permanent libraries, but I agree that it would be nice to have this functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I submitted a comment to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt; on his &lt;A href="https://blogs.sas.com/content/sasdummy/2011/01/10/you-asked-for-it-the-autoexec-process-flow/" target="_self"&gt;related blog article&lt;/A&gt;. If there's not a way to have an autoexec on session close, I'd say we should submit it as a &lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas" target="_self"&gt;SASware Ballot Idea&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 15:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417446#M11410</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2017-11-30T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Clear oracle library at end of the sas session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417453#M11411</link>
      <description>&lt;P&gt;Paul, there isn't a hook for individual users to set. But an admin can set a Termination Program in the Workspace definition. See &lt;A href="http://go.documentation.sas.com/?docsetId=biasag&amp;amp;docsetTarget=n11015intelplatform00srvradm.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;this topic in the admin guide&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 16:01:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417453#M11411</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-11-30T16:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Clear oracle library at end of the sas session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417554#M11423</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Thanks for the answer. &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/81362"&gt;@paulkaefer&lt;/a&gt;, this is exactly the code I'm going to use. In the future I intend to switch to an Oracle stored process.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 20:40:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417554#M11423</guid>
      <dc:creator>dcmacedo</dc:creator>
      <dc:date>2017-11-30T20:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Clear oracle library at end of the sas session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417555#M11424</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Thanks for the reference &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;, it's exactly this feature I was looking for, I'm new to SAS administration, so I was unaware of this configuration.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 20:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417555#M11424</guid>
      <dc:creator>dcmacedo</dc:creator>
      <dc:date>2017-11-30T20:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Clear oracle library at end of the sas session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417561#M11425</link>
      <description>&lt;P&gt;My answer assumes that you're running this in a SAS workspace via EG or SAS Studio.&amp;nbsp; If running with interactive SAS on Windows, there is the &lt;A href="http://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.2&amp;amp;docsetId=lesysoptsref&amp;amp;docsetTarget=n0rjd82dx13qi7n1mw6rsljm7x1o.htm&amp;amp;locale=en" target="_self"&gt;TERMSTMT option&lt;/A&gt;.&amp;nbsp; This does&amp;nbsp;&lt;STRONG&gt;not&amp;nbsp;&lt;/STRONG&gt;work on Workspace/Stored Process servers.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 20:48:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417561#M11425</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-11-30T20:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Clear oracle library at end of the sas session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417577#M11426</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We have SAS Enterprise BI, but we only use SAS Data Integration (sas batch server), SAS Enterprise Guide and SAS Web Report Studio. Our BI is in low demand, our users are mainly using SAS Guide to perform analyzes directly in our Oracle database (90% of our data is in Oracle).&lt;BR /&gt;Our users love SAS Guide.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 21:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Clear-oracle-library-at-end-of-the-sas-session/m-p/417577#M11426</guid>
      <dc:creator>dcmacedo</dc:creator>
      <dc:date>2017-11-30T21:22:57Z</dc:date>
    </item>
  </channel>
</rss>

