<?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: Retrieving tableUri from the metadata in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieving-tableUri-from-the-metadata/m-p/519423#M15220</link>
    <description>&lt;P&gt;We found the issue.&lt;/P&gt;
&lt;P&gt;When creating the library we copied text from excel to SAS Management Console. There was a character which we could not see.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When looking into the SAS metadata browser we saw the libraries were not sorted correctly.. that's how we discovered&lt;/P&gt;</description>
    <pubDate>Fri, 07 Dec 2018 13:59:00 GMT</pubDate>
    <dc:creator>Filipvdr</dc:creator>
    <dc:date>2018-12-07T13:59:00Z</dc:date>
    <item>
      <title>Retrieving tableUri from the metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieving-tableUri-from-the-metadata/m-p/515588#M15081</link>
      <description>&lt;P&gt;Hello, I have 2 small data steps to retrieve a tableUri from the metadata. I'm 100% sure that both objects exist in the metadata and they both have a unique URI. I checked in the management console.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dataset temp gives me a blank tableUri and an rc-4. Dataset temp2 gives me the correct tableUri and an rc 1.&lt;/P&gt;
&lt;P&gt;So my code is working, but for the library MW Cross Business Staging i'm not getting any results. The security is set in the same way and i'm a SAS Admin at my client. Any ideas of what the problem may be?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data temp;
format searchUri tableUri $256.;
searchUri = cats("omsobj:DataTable?DataTable[@Name = 'FEEL_LABELS_Omschr']", 
"[TablePackage/DatabaseSchema[@Name = 'MW Cross Business Staging']");
rc = metadata_getnobj(searchUri, 1, tableUri);
run;


data temp2;
format searchUri tableUri $256.;
searchUri = cats("omsobj:DataTable?DataTable[@Name = 'FEEL_LABELS_Omschr']", 
"[TablePackage/DatabaseSchema[@Name = 'MW Measure Business Staging']");
rc = metadata_getnobj(searchUri, 1, tableUri);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 15:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Retrieving-tableUri-from-the-metadata/m-p/515588#M15081</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2018-11-23T15:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving tableUri from the metadata</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieving-tableUri-from-the-metadata/m-p/519423#M15220</link>
      <description>&lt;P&gt;We found the issue.&lt;/P&gt;
&lt;P&gt;When creating the library we copied text from excel to SAS Management Console. There was a character which we could not see.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When looking into the SAS metadata browser we saw the libraries were not sorted correctly.. that's how we discovered&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 13:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Retrieving-tableUri-from-the-metadata/m-p/519423#M15220</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2018-12-07T13:59:00Z</dc:date>
    </item>
  </channel>
</rss>

