<?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: Unallocate libref SAS/SHARE in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unallocate-libref-SAS-SHARE/m-p/494881#M130501</link>
    <description>&lt;P&gt;In proc operate use the "free" command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;operate&lt;/SPAN&gt; serverid&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;node1&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;sas_share sapw&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;some_password&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;

FREE LIBRARY TEST1;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Sep 2018 14:42:57 GMT</pubDate>
    <dc:creator>DaveHorne</dc:creator>
    <dc:date>2018-09-12T14:42:57Z</dc:date>
    <item>
      <title>Unallocate libref SAS/SHARE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unallocate-libref-SAS-SHARE/m-p/494806#M130464</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I allocating libref to remote SAS/SHARE like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let node1=some_address some_port;

options comamid=tcp;

proc operate serverid=node1.sas_share sapw=some_password;

ALLOCATE LIBRARY TEST1 '/some/path';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now I would like to know how to unallocate library. I know that I can use 'libname name clear' but this only make libref inactive. Like here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;                     NUMBER
LIBREF    STATUS    OF USERS  LIBRARY NAME
--------------------------------------------------------------------------------------------------
TEST1     INACTIVE     0      /some/path&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to remove libref from sas/share memory/unallocate without restart SAS/SHARE (UNIX). How to do that?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 14:16:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unallocate-libref-SAS-SHARE/m-p/494806#M130464</guid>
      <dc:creator>blaszkam</dc:creator>
      <dc:date>2018-09-12T14:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unallocate libref SAS/SHARE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unallocate-libref-SAS-SHARE/m-p/494881#M130501</link>
      <description>&lt;P&gt;In proc operate use the "free" command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;operate&lt;/SPAN&gt; serverid&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;node1&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;sas_share sapw&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;some_password&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;

FREE LIBRARY TEST1;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Sep 2018 14:42:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unallocate-libref-SAS-SHARE/m-p/494881#M130501</guid>
      <dc:creator>DaveHorne</dc:creator>
      <dc:date>2018-09-12T14:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unallocate libref SAS/SHARE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unallocate-libref-SAS-SHARE/m-p/495170#M130635</link>
      <description>It works. Thanks a lot! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 13 Sep 2018 05:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unallocate-libref-SAS-SHARE/m-p/495170#M130635</guid>
      <dc:creator>blaszkam</dc:creator>
      <dc:date>2018-09-13T05:52:55Z</dc:date>
    </item>
  </channel>
</rss>

