<?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: Program to remove metadata registration for tables not loaded to memory in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tables-not-loaded-to/m-p/292115#M5092</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about using Proc METALIB, see below for an example.&lt;/P&gt;
&lt;P&gt;I assume that the list of libraries user can add their data is limited and can be hardcoded in the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NOEXEC will not run the update rule, but will report what would be done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc metalib;
   omr ( LIBRARY="Visual Analytics Public LASR" );
   update_rule = (delete noadd noupdate);
   report = ( type=summary );
   noexec;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You need to have a connection to the Metadata Server in order to run this code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2016 10:17:12 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2016-08-17T10:17:12Z</dc:date>
    <item>
      <title>Program to remove metadata registration for tables not loaded to memory</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tables-not-loaded-to/m-p/292101#M5090</link>
      <description>&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our organisation some of the VAusers use the manuel&amp;nbsp;import of data in the Data Exploration Tab&amp;nbsp;a lot. Unfortunately they do not always remove data again when finish exploring. And a restart of the LASR-server wipes all manuel imported data resulting in growing amount of registered tables in the administraton tab in the VA hub. We also use Autoload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a SAS program that list all&amp;nbsp;tables registered in a LASR server library and then check if they are loaded to memory in the LASR server and if not deletes the metadata registration for the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have anyone already created a program to do something like that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are runnning VA 7.3 (SAS 9.4)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 08:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tables-not-loaded-to/m-p/292101#M5090</guid>
      <dc:creator>LarsEB</dc:creator>
      <dc:date>2016-08-17T08:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Program to remove metadata registration for tables not loaded to memory</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tables-not-loaded-to/m-p/292115#M5092</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about using Proc METALIB, see below for an example.&lt;/P&gt;
&lt;P&gt;I assume that the list of libraries user can add their data is limited and can be hardcoded in the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NOEXEC will not run the update rule, but will report what would be done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc metalib;
   omr ( LIBRARY="Visual Analytics Public LASR" );
   update_rule = (delete noadd noupdate);
   report = ( type=summary );
   noexec;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You need to have a connection to the Metadata Server in order to run this code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 10:17:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tables-not-loaded-to/m-p/292115#M5092</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-08-17T10:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Program to remove metadata registration for tables not loaded to memory</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tables-not-loaded-to/m-p/292136#M5097</link>
      <description>Hi Bruno,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. It solved my problem pretty easy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 17 Aug 2016 12:07:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tables-not-loaded-to/m-p/292136#M5097</guid>
      <dc:creator>LarsEB</dc:creator>
      <dc:date>2016-08-17T12:07:20Z</dc:date>
    </item>
  </channel>
</rss>

