<?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 Getting Name from Metadata ID in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Getting-Name-from-Metadata-ID/m-p/139096#M37261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have these things in logs all the time ...A0000001.A5STQABL ... metadata ID. i want to map these things to some logical names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to get logical name for these metadata id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for instance , i had to go into the SMC to check that the above is mapped to "&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New';"&gt;SAS Web Infrastructure Platform"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did something like below and it didnt work, dont know if i am doing this correctly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; length id $20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; type $256;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc=metadata_resolve("omsobj:A0000001.A5STQABL",type,id);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put rc=;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put id=;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put type=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;o/p is rc=0 ; id=;type=;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody let me know how to get around this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Keds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 16:34:31 GMT</pubDate>
    <dc:creator>keds</dc:creator>
    <dc:date>2014-07-28T16:34:31Z</dc:date>
    <item>
      <title>Getting Name from Metadata ID</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-Name-from-Metadata-ID/m-p/139096#M37261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have these things in logs all the time ...A0000001.A5STQABL ... metadata ID. i want to map these things to some logical names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to get logical name for these metadata id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for instance , i had to go into the SMC to check that the above is mapped to "&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New';"&gt;SAS Web Infrastructure Platform"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did something like below and it didnt work, dont know if i am doing this correctly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; length id $20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; type $256;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc=metadata_resolve("omsobj:A0000001.A5STQABL",type,id);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put rc=;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put id=;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put type=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;o/p is rc=0 ; id=;type=;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody let me know how to get around this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Keds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-Name-from-Metadata-ID/m-p/139096#M37261</guid>
      <dc:creator>keds</dc:creator>
      <dc:date>2014-07-28T16:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Name from Metadata ID</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-Name-from-Metadata-ID/m-p/139097#M37262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;length name $ 128;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;rc=metadata_getattr("omsobj:&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;A0000001.A5STQABL&lt;/SPAN&gt;","Name",name);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;put name=;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 17:09:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-Name-from-Metadata-ID/m-p/139097#M37262</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2014-07-28T17:09:46Z</dc:date>
    </item>
  </channel>
</rss>

