<?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: What's New in Data Management in SAS 9.4 M3 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-s-New-in-Data-Management-in-SAS-9-4-M3/m-p/287203#M59057</link>
    <description>&lt;P&gt;The function metadata_delobj can be used to remove the registered table from metadata, no sure that all associated objects are deleted also. New in 9.4m1 is a tool called "sas-delete-object", described in &lt;A href="http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#p0zqp8fmgs4o0kn1tt7j8ho829fv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#p0zqp8fmgs4o0kn1tt7j8ho829fv.htm&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2016 14:23:30 GMT</pubDate>
    <dc:creator>error_prone</dc:creator>
    <dc:date>2016-07-26T14:23:30Z</dc:date>
    <item>
      <title>What's New in Data Management in SAS 9.4 M3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-s-New-in-Data-Management-in-SAS-9-4-M3/m-p/287189#M59054</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a library defined in SAS SMC called DDMD. Every week, I need to register new tables.I want to update Metadata thru a SAS Batch job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Example - Last week, I registered tables A, B &amp;amp; C. This week I need to register C, D &amp;amp; E. For the E-Guide user, the next day it should be only 3 tables visible in DDMD library, i.e C, D &amp;amp; E. I recieve theTableNames in a control file. It is possible that physically tables A &amp;amp; B still exists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the below code, the downside of this code is&amp;nbsp; ... if physically any of the old tables still exists then it will not be deleted. The users will be able to see it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname AAA meta library="DDMD" metaout=datareg;&lt;BR /&gt;proc sql noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; select quote(trim(memname)) into :list separated by " "&lt;BR /&gt;&amp;nbsp;&amp;nbsp; from dictionary.tables&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where libname="AAA"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;quit;&lt;BR /&gt;%put Value of list: &amp;amp;list.;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc metalib;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; omr (library="DDMD");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; update_rule(delete);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; select (&amp;amp;list.);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; report (type=detail);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 13:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-s-New-in-Data-Management-in-SAS-9-4-M3/m-p/287189#M59054</guid>
      <dc:creator>Abhijit</dc:creator>
      <dc:date>2016-07-26T13:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: What's New in Data Management in SAS 9.4 M3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-s-New-in-Data-Management-in-SAS-9-4-M3/m-p/287203#M59057</link>
      <description>&lt;P&gt;The function metadata_delobj can be used to remove the registered table from metadata, no sure that all associated objects are deleted also. New in 9.4m1 is a tool called "sas-delete-object", described in &lt;A href="http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#p0zqp8fmgs4o0kn1tt7j8ho829fv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#p0zqp8fmgs4o0kn1tt7j8ho829fv.htm&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 14:23:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-s-New-in-Data-Management-in-SAS-9-4-M3/m-p/287203#M59057</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2016-07-26T14:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: What's New in Data Management in SAS 9.4 M3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-s-New-in-Data-Management-in-SAS-9-4-M3/m-p/287327#M59096</link>
      <description>&lt;P&gt;If you change your SMC DDMD library definition as shown in the screenshot then you don't have to register metadata at all and all tables will show in EG / SAS Studio etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4244iE98D14C342399430/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="screenshot13.jpg" title="screenshot13.jpg" /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-s-New-in-Data-Management-in-SAS-9-4-M3/m-p/287327#M59096</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-07-26T19:57:21Z</dc:date>
    </item>
  </channel>
</rss>

