<?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: Metadata Library Names in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4474#M1961</link>
    <description>Can a metadata server used in maintaining SAS earlier version servers can be used for latest SAS version 9.2</description>
    <pubDate>Tue, 22 Dec 2009 14:26:54 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-12-22T14:26:54Z</dc:date>
    <item>
      <title>Metadata Library Names</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4469#M1956</link>
      <description>Hello!&lt;BR /&gt;
&lt;BR /&gt;
I have to retrieve all the metadata library names that were already defined under a metadata server. Each library is defined to its physical location and a few datasets already imported under each library.&lt;BR /&gt;
&lt;BR /&gt;
How can I retrieve all Metadata library names into a macro variable or display using an sql would also be fine.&lt;BR /&gt;
&lt;BR /&gt;
Any help is greatly appreciated!&lt;BR /&gt;
&lt;BR /&gt;
Raja</description>
      <pubDate>Sat, 01 Sep 2007 04:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4469#M1956</guid>
      <dc:creator>SP_RANDE</dc:creator>
      <dc:date>2007-09-01T04:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Library Names</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4470#M1957</link>
      <description>Hi:&lt;BR /&gt;
  I do not believe it is possible to -easily- get this information into a single macro variable or even multiple macro variables or to do an SQL query against the Metadata repository. Both DI Studio and SAS Management Console will show you the property information for the data libraries that have been defined to the Metadata repository. In addition, DIStudio provides a way that you can EXPORT library object information into an XML file format.&lt;BR /&gt;
 &lt;BR /&gt;
You might consider contacting Tech Support for more help. They would know whether there are any utility programs that a SAS Administrator could use to report on this kind of information. &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sat, 01 Sep 2007 18:37:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4470#M1957</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-09-01T18:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Library Names</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4471#M1958</link>
      <description>&lt;B&gt;Hi Raja,&lt;BR /&gt;
You could try this SAS code for a start:&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
options  MetaServer="localhost"&lt;BR /&gt;
         MetaPort=8561&lt;BR /&gt;
         MetaUser="sasadm"&lt;BR /&gt;
         MetaPass="XXXXXX"&lt;BR /&gt;
         MetaRepository="Foundation"&lt;BR /&gt;
         MetaProtocol=BRIDGE;&lt;BR /&gt;
&lt;BR /&gt;
/*file gets created under C:\WINDOWS\system32*/&lt;BR /&gt;
filename xmlout 'SASLibrary_Base.xml' ;&lt;BR /&gt;
filename inxmlb temp;&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
file inxmlb;&lt;BR /&gt;
input;&lt;BR /&gt;
put _infile_;&lt;BR /&gt;
cards;&lt;BR /&gt;
&lt;GETMETADATAOBJECTS&gt;&lt;BR /&gt;
&lt;REPOSID&gt;$METAREPOSITORY&lt;/REPOSID&gt;&lt;BR /&gt;
&lt;TYPE&gt;SASLibrary&lt;/TYPE&gt;&lt;BR /&gt;
  &lt;OBJECTS&gt;&lt;/OBJECTS&gt;&lt;BR /&gt;
  &lt;NS&gt;SAS&lt;/NS&gt;&lt;BR /&gt;
  &lt;FLAGS&gt;388&lt;/FLAGS&gt;  &lt;BR /&gt;
 &lt;OPTIONS&gt;&lt;BR /&gt;
&lt;XMLSELECT search="SASLibrary[@Engine='Base']"&gt;&lt;/XMLSELECT&gt; &lt;BR /&gt;
&lt;TEMPLATES&gt;&lt;BR /&gt;
  &lt;SASLIBRARY id="" name="" libref="" engine="" isdbmslibname="" ispreassigned=""&gt;&lt;BR /&gt;
  &lt;DEPLOYEDCOMPONENTS&gt;&lt;/DEPLOYEDCOMPONENTS&gt;&lt;USINGPACKAGES&gt;&lt;/USINGPACKAGES&gt;&lt;/SASLIBRARY&gt; &lt;BR /&gt;
  &lt;SERVERCONTEXT id="" name=""&gt;&lt;/SERVERCONTEXT&gt;&lt;BR /&gt;
  &lt;DIRECTORY id="" name="" directoryname=""&gt;&lt;/DIRECTORY&gt;&lt;BR /&gt;
  &lt;/TEMPLATES&gt;&lt;BR /&gt;
    &lt;/OPTIONS&gt;&lt;BR /&gt;
&lt;/GETMETADATAOBJECTS&gt;&lt;BR /&gt;
;;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
PROC METADATA&lt;BR /&gt;
  IN=inxmlb&lt;BR /&gt;
out = xmlout verbose;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Here's more info:&lt;BR /&gt;
&lt;A href="http://support.sas.com/onlinedoc/913/getDoc/en/omags.hlp/a003159943.htm" target="_blank"&gt;http://support.sas.com/onlinedoc/913/getDoc/en/omags.hlp/a003159943.htm&lt;/A&gt;&lt;/B&gt;</description>
      <pubDate>Mon, 03 Sep 2007 08:02:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4471#M1958</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-09-03T08:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Library Names</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4472#M1959</link>
      <description>Hi:&lt;BR /&gt;
  I highly recommend that you contact a SAS Administrator at your site because this information is very specific to your installation:&lt;BR /&gt;
[pre]&lt;BR /&gt;
options MetaServer="localhost"&lt;BR /&gt;
MetaPort=8561&lt;BR /&gt;
MetaUser="sasadm"&lt;BR /&gt;
MetaPass="XXXXXX"&lt;BR /&gt;
MetaRepository="Foundation"&lt;BR /&gt;
MetaProtocol=BRIDGE;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
For example, your install people might not have used port 8561 for the Metadata server. They may have not have used a "SASADM" user-id for the administrator user-id or set a different user id with administrative privileges. Your Repository may not be called Foundation. Your server may not be on "localhost". And, last, but not least, you need to know the the right password for the user-id that must be used. &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 03 Sep 2007 14:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4472#M1959</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-09-03T14:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Library Names</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4473#M1960</link>
      <description>I have the correct Metadata Server and User info that I can apply for these options.&lt;BR /&gt;
Thank you for sending this and I wil try this out and see what I can get and update back here.&lt;BR /&gt;
&lt;BR /&gt;
I appreciate your help!&lt;BR /&gt;
Raja</description>
      <pubDate>Tue, 04 Sep 2007 03:36:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4473#M1960</guid>
      <dc:creator>SP_RANDE</dc:creator>
      <dc:date>2007-09-04T03:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Library Names</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4474#M1961</link>
      <description>Can a metadata server used in maintaining SAS earlier version servers can be used for latest SAS version 9.2</description>
      <pubDate>Tue, 22 Dec 2009 14:26:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4474#M1961</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-22T14:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Library Names</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4475#M1962</link>
      <description>Any metadata servers prior to SAS 9.2 will need to upgraded in order to support SAS 9.2.  There have been significant changes in SAS 9.2 to support additional functionality, improved performance, and simplified administration.&lt;BR /&gt;
&lt;BR /&gt;
To understand what is involved in upgrading from a previous version, please visit our SAS 9.2 Migration site at:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/migration/index.html" target="_blank"&gt;http://support.sas.com/rnd/migration/index.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Tue, 22 Dec 2009 16:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-Library-Names/m-p/4475#M1962</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2009-12-22T16:23:20Z</dc:date>
    </item>
  </channel>
</rss>

