<?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 A problem about get SAS library defined by MC in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114277#M9692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am using C# to develop my own SAS client, a problem came out when I get the SAS libraries list. At first, I have already finished to connect to the remote SAS server. Here is the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use EG to connect the SAS server, there is 11 libraries, 3 of them is defined in MC. If you want to use them, you must assign them first.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="eg.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/4045_eg.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my own client, I use the method "ListLibrefs" of SAS.DataService, I can only get 8 libraries, can't get the 3 libraries defined by MC.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="client.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/4046_client.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I use the same user to login the SAS server. How to get the libraries defined in MC, and assign them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Aug 2013 11:52:56 GMT</pubDate>
    <dc:creator>Slash</dc:creator>
    <dc:date>2013-08-18T11:52:56Z</dc:date>
    <item>
      <title>A problem about get SAS library defined by MC</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114277#M9692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am using C# to develop my own SAS client, a problem came out when I get the SAS libraries list. At first, I have already finished to connect to the remote SAS server. Here is the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use EG to connect the SAS server, there is 11 libraries, 3 of them is defined in MC. If you want to use them, you must assign them first.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="eg.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/4045_eg.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my own client, I use the method "ListLibrefs" of SAS.DataService, I can only get 8 libraries, can't get the 3 libraries defined by MC.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="client.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/4046_client.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I use the same user to login the SAS server. How to get the libraries defined in MC, and assign them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Aug 2013 11:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114277#M9692</guid>
      <dc:creator>Slash</dc:creator>
      <dc:date>2013-08-18T11:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: A problem about get SAS library defined by MC</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114278#M9693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very interesting application!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this one, I suggest you put in a case to SAS Tech Support. If you haven't used them before, they're very good, and I'm sure they'll be able to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem delves into corners of SAS that aren't that heavily used, so I'm not sure the discussion forums will be able to pop up an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Aug 2013 14:09:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114278#M9693</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2013-08-18T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: A problem about get SAS library defined by MC</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114279#M9694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those libraries that are defined in metadata and shown in white in EG - they are "potential" libraries.&amp;nbsp; They have definitions in SAS metadata but they are not assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To assign them, you would use a LIBNAME statement or an AssignLibref API call, and use the META engine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname month META library="Month Data";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To learn which libraries are available in metadata, you must issue a metadata query.&amp;nbsp; I have a PowerShell example that you can adapt here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2013/02/25/windows-powershell-sas-metadata-query/" title="http://blogs.sas.com/content/sasdummy/2013/02/25/windows-powershell-sas-metadata-query/"&gt; Using Windows PowerShell to find registered tables and columns in SAS metadata - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example discovers "PhysicalTable" objects, but you can issue a similar request for SASLibrary objects.&amp;nbsp; You might find a PROC METADATA example that shows the metadata query that you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Aug 2013 15:06:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114279#M9694</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-08-18T15:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: A problem about get SAS library defined by MC</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114280#M9695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 01:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114280#M9695</guid>
      <dc:creator>Slash</dc:creator>
      <dc:date>2013-08-19T01:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: A problem about get SAS library defined by MC</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114281#M9696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Chris!&lt;/P&gt;&lt;P&gt;Actually, I read your blog "Build your own SAS client app with Microsoft .NET" recently, and I started to build my own client.&lt;/P&gt;&lt;P&gt;So I believe there are lots of&amp;nbsp; problems I'm gonna ask you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 02:04:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/A-problem-about-get-SAS-library-defined-by-MC/m-p/114281#M9696</guid>
      <dc:creator>Slash</dc:creator>
      <dc:date>2013-08-19T02:04:42Z</dc:date>
    </item>
  </channel>
</rss>

