<?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: SAS Management Console does not display libname for a pre-assigned library in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149264#M1762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, google led me here only to find others have already noted this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For developers, it's very useful to be able to get the libname statement behind a library defined in the metadata, particularly for optimizing access to relational databases, or writing explicit pass-through queries.&amp;nbsp; Not sure why this should be secret information.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes it feels like SAS metadata goes too far in hiding information from developers in favor of giving it to admins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And alas, there is no LibInfo() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 18:14:35 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2014-10-09T18:14:35Z</dc:date>
    <item>
      <title>SAS Management Console does not display libname for a pre-assigned library</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149262#M1760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my environment, we have numerous libraries defined via the SMC.&amp;nbsp; All of these libraries are pre-assigned.&amp;nbsp; Thus, when we launch either a Base SAS session (DMS) via the E:\SAS\Config\Lev1\SASApp\sas.bat file, or a SAS EG workspace server session, all of the libraries are automagically allocated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often I want to see the details of the library allocation, esp. for our Oracle libraries.&amp;nbsp; So, I RMB the library in SMC, select Display LIBNAME statement, and get the dialog:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The "Fubar" library was pre-assigned so no LIBNAME statement will be generated.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any reason why SAS designed the SMC this way?&amp;nbsp; Any little birdies care to comment???&amp;nbsp; I'm sure there's a great reason for this design, I just can't think of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course the metadata server is generating libname statements (or the equivalent) when the workspace server starts, otherwise the libraries wouldn't get allocated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But all I want to do in SMC is see the libname statement that &lt;SPAN style="text-decoration: underline;"&gt;would&lt;/SPAN&gt; be generated, and usually paste it into a SAS session and change a few parameters:&amp;nbsp; for example set readonly access, or perhaps clone an Oracle library for code development, where I don't need to define it in metadata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just not getting why it's designed this way???&amp;nbsp; Just display the libname statement &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this still the case in SAS 9.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 00:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149262#M1760</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2013-11-20T00:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console does not display libname for a pre-assigned library</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149263#M1761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I too have noticed this behaviour. Of course you can always temporarily turn off the pre-assigment so you do get the generated LIBNAME but that is not a very good workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly if you check a pre-assigned library properties in EG you do get all components of the library definition displayed, but you can't copy and paste it into your code.&lt;/P&gt;&lt;P&gt;BTW these comments relate to SAS 9.3 M1 / EG 5.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 04:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149263#M1761</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-11-20T04:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console does not display libname for a pre-assigned library</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149264#M1762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, google led me here only to find others have already noted this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For developers, it's very useful to be able to get the libname statement behind a library defined in the metadata, particularly for optimizing access to relational databases, or writing explicit pass-through queries.&amp;nbsp; Not sure why this should be secret information.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes it feels like SAS metadata goes too far in hiding information from developers in favor of giving it to admins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And alas, there is no LibInfo() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 18:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149264#M1762</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-10-09T18:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console does not display libname for a pre-assigned library</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149265#M1763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's the same behaviour in 9.4 M2. I am sure there would be a way of reporting this out of metadata, but it would probably take a lot of mucking around to do it. Why does it have to be so hard? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 03:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149265#M1763</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-10-10T03:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console does not display libname for a pre-assigned library</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149266#M1764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is some weirdo designer or solutioneer or engineer at SAS that is insufficient thinking in concepts or is limited in a DBA like silo world. Ok that is crude, but why I am making this statement?&amp;nbsp; &lt;/P&gt;&lt;P&gt;I a agree with Quentin. "Sometimes it feels like SAS metadata goes too far in hiding information" not only for developers but also for admins.&lt;/P&gt;&lt;P&gt;There are several methods for pre-assigning libraries: &lt;A href="http://blogs.sas.com/content/sgf/2013/05/15/pre-assign-sas-libraries-if-so-which-method/"&gt;http://blogs.sas.com/content/sgf/2013/05/15/pre-assign-sas-libraries-if-so-which-method/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hiding in metadata looks nice but it the limited way a DBA of a RDBMS would prefer. the DB-admin (the A is from Admin) can control all data namings in his limited area of the dictionary(metadata).&lt;/P&gt;&lt;P&gt;A OS-admin is wanting all configuration items in some file ini-files (Windows registry).&amp;nbsp; It is the old confusion again what is an application?&lt;/P&gt;&lt;P&gt;An Admin combining those worlds should be capable to do it all. A SAS platform Admin of all kind should also be able to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples:&lt;/P&gt;&lt;P&gt;Do you want to support parallel testing (data) the physical name can not be in SAS-metadata. There must be some configuration item as a file. It can be solved as SASApp context.&lt;/P&gt;&lt;P&gt;Do you want or needing a SQL pass through than you are most likely needing all definitions of a libname. Not really there as Eguide query builder fiels or coding is all explicit.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Do you want to populate metadata from a libname (extrenl dbms) you are likely needing different options as you normal user. uhhhh surprise.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;I would&amp;nbsp; prefer the idea of a libinfo() function passing all information back, no problem great idea.&lt;/P&gt;&lt;P&gt;I am promoting until now doing it the other way starting with all information libinfo() could return storing that centrally so it can be used for the libname and being modified by a developer.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 06:10:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-does-not-display-libname-for-a-pre/m-p/149266#M1764</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-10T06:10:33Z</dc:date>
    </item>
  </channel>
</rss>

