<?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: How to find which metadata object a specific URI corresponds to in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-find-which-metadata-object-a-specific-URI-corresponds-to/m-p/874952#M26594</link>
    <description>&lt;P&gt;You could use the ID to get attributes for the object, for example: &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
     length name type $ 255 id $ 17;
     call missing (of _character_);
     obj="omsobj:ID";
     rc=metadata_getattr(obj,"Name",name);
     rc=metadata_resolve(obj,type,id);
     put name= type= id=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Referencing a Metadata Object with a URI:&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n10jctx8iblta9n17b4fwr7tawii.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n10jctx8iblta9n17b4fwr7tawii.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;METADATA_GETATTR function:&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1kjy5liyi86w8n1vfopazyeb70u.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1kjy5liyi86w8n1vfopazyeb70u.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;METADATA_RESOLVE function:&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n1lfiylg4nenwyn1oe66yco3sgly.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n1lfiylg4nenwyn1oe66yco3sgly.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 14:02:54 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2023-05-10T14:02:54Z</dc:date>
    <item>
      <title>How to find which metadata object a specific URI corresponds to</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-find-which-metadata-object-a-specific-URI-corresponds-to/m-p/874901#M26591</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;Is it possible to (programmatically or otherwise) find out which metadata object a specific uri (&amp;lt;8characters&amp;gt;.&amp;lt;8characters&amp;gt;) corresponds to? Just FYI the context is: I'm investigating the possibilities of PROC METALIB, and for a given URI (whose corresponding metadata object I would like to identify) it works, but not for others. Hence, retrieving which metadata object the "working URI" points to will hopefully help me understand why it (PROC METALIB) doesn't work in other cases.&lt;/P&gt;
&lt;P&gt;Many TIA&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 11:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-find-which-metadata-object-a-specific-URI-corresponds-to/m-p/874901#M26591</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-05-10T11:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to find which metadata object a specific URI corresponds to</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-find-which-metadata-object-a-specific-URI-corresponds-to/m-p/874952#M26594</link>
      <description>&lt;P&gt;You could use the ID to get attributes for the object, for example: &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
     length name type $ 255 id $ 17;
     call missing (of _character_);
     obj="omsobj:ID";
     rc=metadata_getattr(obj,"Name",name);
     rc=metadata_resolve(obj,type,id);
     put name= type= id=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Referencing a Metadata Object with a URI:&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n10jctx8iblta9n17b4fwr7tawii.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n10jctx8iblta9n17b4fwr7tawii.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;METADATA_GETATTR function:&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1kjy5liyi86w8n1vfopazyeb70u.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1kjy5liyi86w8n1vfopazyeb70u.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;METADATA_RESOLVE function:&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n1lfiylg4nenwyn1oe66yco3sgly.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n1lfiylg4nenwyn1oe66yco3sgly.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 14:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-find-which-metadata-object-a-specific-URI-corresponds-to/m-p/874952#M26594</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-05-10T14:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to find which metadata object a specific URI corresponds to</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-find-which-metadata-object-a-specific-URI-corresponds-to/m-p/874989#M26598</link>
      <description>&lt;P&gt;Many thanks Greg!&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 15:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-find-which-metadata-object-a-specific-URI-corresponds-to/m-p/874989#M26598</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-05-10T15:10:05Z</dc:date>
    </item>
  </channel>
</rss>

