<?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 Howto get metadata type of URI using data step functions in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75578#M16284</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
How can I get the metadata type of a metadata object whose URI I have?&lt;BR /&gt;
I need to use the METADATA_ data step functions.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bart</description>
    <pubDate>Tue, 13 Oct 2009 12:35:40 GMT</pubDate>
    <dc:creator>bheinsius</dc:creator>
    <dc:date>2009-10-13T12:35:40Z</dc:date>
    <item>
      <title>Howto get metadata type of URI using data step functions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75578#M16284</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
How can I get the metadata type of a metadata object whose URI I have?&lt;BR /&gt;
I need to use the METADATA_ data step functions.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bart</description>
      <pubDate>Tue, 13 Oct 2009 12:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75578#M16284</guid>
      <dc:creator>bheinsius</dc:creator>
      <dc:date>2009-10-13T12:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Howto get metadata type of URI using data step functions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75579#M16285</link>
      <description>Anything wrong with the METADATA procedure?&lt;BR /&gt;
&lt;BR /&gt;
If not, check page 57 of the Open Metadata Interface here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/base_omi_7253.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/base_omi_7253.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
      <pubDate>Thu, 15 Oct 2009 10:56:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75579#M16285</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-10-15T10:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Howto get metadata type of URI using data step functions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75580#M16286</link>
      <description>Try the metata_resolve function, here's an example:&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
&lt;BR /&gt;
    length id $20&lt;BR /&gt;
	   			 type $256;&lt;BR /&gt;
&lt;BR /&gt;
     rc=metadata_resolve("omsobj:A50URHMK.BU000001",type,id);&lt;BR /&gt;
     put type=;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
The type variable will contain what exactly what you're looking for&lt;BR /&gt;
&lt;BR /&gt;
Cheers&lt;BR /&gt;
&lt;BR /&gt;
Paul</description>
      <pubDate>Thu, 15 Oct 2009 11:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75580#M16286</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-15T11:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Howto get metadata type of URI using data step functions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75581#M16287</link>
      <description>metadata_resolve did the trick, thanks.&lt;BR /&gt;
&lt;BR /&gt;
-Bart</description>
      <pubDate>Thu, 15 Oct 2009 11:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Howto-get-metadata-type-of-URI-using-data-step-functions/m-p/75581#M16287</guid>
      <dc:creator>bheinsius</dc:creator>
      <dc:date>2009-10-15T11:57:20Z</dc:date>
    </item>
  </channel>
</rss>

