<?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: Is it possible to use &amp;quot;prefix&amp;quot; in proc metalib without creating duplicates? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Is-it-possible-to-use-quot-prefix-quot-in-proc-metalib-without/m-p/456892#M14115</link>
    <description>&lt;P&gt;Fredrik,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting on our communities site and letting us know of your issue.&amp;nbsp; You are correct - the behavior your are experiencing is not intended.&amp;nbsp; There is a fix to this particular issue so that your tables are updated, not duplicated.&amp;nbsp; You can find all the details, including how to pursue the fix by following this link:&amp;nbsp; &lt;A title="http://support.sas.com/kb/61/614.html" href="http://support.sas.com/kb/61/614.html" target="_self"&gt;http://support.sas.com/kb/61/614.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;SAS Product Management&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Apr 2018 14:39:33 GMT</pubDate>
    <dc:creator>SAS-Dan</dc:creator>
    <dc:date>2018-04-24T14:39:33Z</dc:date>
    <item>
      <title>Is it possible to use "prefix" in proc metalib without creating duplicates?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Is-it-possible-to-use-quot-prefix-quot-in-proc-metalib-without/m-p/433575#M13432</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a metadata table with a prefix and then keep it in sync using proc metalib.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc metalib;
    omr ( library="/Shared Data/Hadoop/Visual Analytics HDFS" REPNAME="Foundation" );
    folder="/Shared Data/Hadoop";
    prefix="stg_";
    select ("DT_HJARTA");
    update_rule=(delete);
    report;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS documentation says "&lt;EM&gt;does not affect PROC METALIB processing, because the procedure uses the value of the SASTableName= attribute to compare the metadata to the tables in the data source.&lt;/EM&gt;". (&lt;A href="http://support.sas.com/documentation/cdl/en/lrmeta/60739/HTML/default/viewer.htm#a003241162.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrmeta/60739/HTML/default/viewer.htm#a003241162.htm&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I don't agree.&lt;/P&gt;&lt;P&gt;First time I run the code a new metadata table is created, which is just what I want.&lt;/P&gt;&lt;P&gt;Next time I run the procedure above I get a duplicate metadata table. I just want to update the one I already have.&lt;/P&gt;&lt;P&gt;How can I achieve that and not create duplicates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove &lt;EM&gt;prefix="stg_"; &lt;/EM&gt;the procedure works as I intended, but I really want to use prefix on some of my tables.&lt;/P&gt;&lt;P&gt;I use SAS9.4M3 on Linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Wrong version. We run&amp;nbsp;&lt;SPAN&gt;SAS9.4 M4.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 08:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Is-it-possible-to-use-quot-prefix-quot-in-proc-metalib-without/m-p/433575#M13432</guid>
      <dc:creator>Fredrik_Hansson</dc:creator>
      <dc:date>2018-04-25T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use "prefix" in proc metalib without creating duplicates?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Is-it-possible-to-use-quot-prefix-quot-in-proc-metalib-without/m-p/456892#M14115</link>
      <description>&lt;P&gt;Fredrik,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting on our communities site and letting us know of your issue.&amp;nbsp; You are correct - the behavior your are experiencing is not intended.&amp;nbsp; There is a fix to this particular issue so that your tables are updated, not duplicated.&amp;nbsp; You can find all the details, including how to pursue the fix by following this link:&amp;nbsp; &lt;A title="http://support.sas.com/kb/61/614.html" href="http://support.sas.com/kb/61/614.html" target="_self"&gt;http://support.sas.com/kb/61/614.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;SAS Product Management&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Is-it-possible-to-use-quot-prefix-quot-in-proc-metalib-without/m-p/456892#M14115</guid>
      <dc:creator>SAS-Dan</dc:creator>
      <dc:date>2018-04-24T14:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use "prefix" in proc metalib without creating duplicates?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Is-it-possible-to-use-quot-prefix-quot-in-proc-metalib-without/m-p/457179#M14141</link>
      <description>Thank you! I will install it as soon as possible. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 25 Apr 2018 08:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Is-it-possible-to-use-quot-prefix-quot-in-proc-metalib-without/m-p/457179#M14141</guid>
      <dc:creator>Fredrik_Hansson</dc:creator>
      <dc:date>2018-04-25T08:29:39Z</dc:date>
    </item>
  </channel>
</rss>

