<?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 rename the metadata definition of objects in SAS Management Console? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/800075#M40341</link>
    <description>thanks, I will check and try based on the possibilities</description>
    <pubDate>Fri, 04 Mar 2022 06:46:36 GMT</pubDate>
    <dc:creator>THALLA_REDDY</dc:creator>
    <dc:date>2022-03-04T06:46:36Z</dc:date>
    <item>
      <title>Is it possible to rename the metadata definition of objects in SAS Management Console?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/799194#M40330</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;we have some user groups defined in the metadata library using the SMC 9.4_M7 version. Now after creating these initial names we came to know that there are some special characters in the names like ;'&amp;amp;/- etc., When checked some solutions in SAS Community to rename them got some inputs from this thread =&amp;gt; &lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-rename-the-metadata-defintion-of-objects-in/td-p/443705" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-rename-the-metadata-defintion-of-objects-in/td-p/443705&lt;/A&gt;. After trying from the below code we are able to rename few USER Groups where we don't have apostrophe but if we have any quote (single quote or apostrophe) in the name then getting the error.&lt;/P&gt;
&lt;P&gt;Example of my USER Group name:&amp;nbsp;&lt;STRONG style="font-family: inherit;"&gt;01234-ABC'd Inc&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Now we want this User Group to be renamed as: 01234-ABCd Inc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the code we tried:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;data changenames;
  length oldname newname $256.;
  infile datalines dsd;  
  input oldname $ newname $;
  datalines;
  01234-ABC'd Inc, ABCd Inc
;
run;

data identitygroups(keep=uri oldname newname rc);
  length uri $256;  nobj=1; n=1;
  set changenames;
  do while(nobj &amp;gt;= 0);
    nobj=metadata_getnobj(cats("omsobj:IdentityGroup?@Name='",oldname,"'"),n,uri);
    rc=metadata_setattr(uri,"Name",newname); 
    n=n+1;
  end;
run;&lt;/LI-CODE&gt;
&lt;P&gt;Any help on this requirement is highly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 19:01:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/799194#M40330</guid>
      <dc:creator>THALLA_REDDY</dc:creator>
      <dc:date>2022-02-28T19:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename the metadata definition of objects in SAS Management Console?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/799197#M40331</link>
      <description>&lt;P&gt;Is deleting and recreating them possible? Have you tried this in SMC?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is probably worth checking with SAS Tech Support on this.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 19:35:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/799197#M40331</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-02-28T19:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename the metadata definition of objects in SAS Management Console?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/799474#M40332</link>
      <description>&lt;P&gt;Under similar scenario, i would create new group, backup the metadata and then delete the old group.&lt;BR /&gt;Make sure you have all the users in the group as well as the access controls replicated.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 01:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/799474#M40332</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-02T01:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename the metadata definition of objects in SAS Management Console?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/800074#M40340</link>
      <description>&lt;P&gt;Yes, I have tried in SMC but metadata is not getting reflected eventhough I am seeing the name in SMC is changed. It's strange for me.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 06:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/800074#M40340</guid>
      <dc:creator>THALLA_REDDY</dc:creator>
      <dc:date>2022-03-04T06:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to rename the metadata definition of objects in SAS Management Console?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/800075#M40341</link>
      <description>thanks, I will check and try based on the possibilities</description>
      <pubDate>Fri, 04 Mar 2022 06:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-rename-the-metadata-definition-of-objects-in/m-p/800075#M40341</guid>
      <dc:creator>THALLA_REDDY</dc:creator>
      <dc:date>2022-03-04T06:46:36Z</dc:date>
    </item>
  </channel>
</rss>

