<?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 Viewing active libraries and filerefs in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23495#M3635</link>
    <description>Is there a lib window and a fileref like in DM? I'm new to EG and its 4.1. I wrote a sql dictionary statement to find the librefs for the code I've inherited but think there should be a button somewhere...</description>
    <pubDate>Wed, 27 Oct 2010 01:22:36 GMT</pubDate>
    <dc:creator>WhiteSalmon</dc:creator>
    <dc:date>2010-10-27T01:22:36Z</dc:date>
    <item>
      <title>Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23495#M3635</link>
      <description>Is there a lib window and a fileref like in DM? I'm new to EG and its 4.1. I wrote a sql dictionary statement to find the librefs for the code I've inherited but think there should be a button somewhere...</description>
      <pubDate>Wed, 27 Oct 2010 01:22:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23495#M3635</guid>
      <dc:creator>WhiteSalmon</dc:creator>
      <dc:date>2010-10-27T01:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23496#M3636</link>
      <description>You can use Tools-&amp;gt;SAS Enterprise Guide Explorer to see the active libraries.  Unfortunately it's a "modal" window, which means you can't interact with EG while this window is displayed.&lt;BR /&gt;
&lt;BR /&gt;
You can also use View-&amp;gt;SAS Servers and expand the server list and library list, but you'll need to Refresh it whenever you make a change that you want to see reflected.&lt;BR /&gt;
&lt;BR /&gt;
There isn't a built-in window to show active filerefs.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Wed, 27 Oct 2010 20:29:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23496#M3636</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2010-10-27T20:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23497#M3637</link>
      <description>OK Thanks Chris,&lt;BR /&gt;
&lt;BR /&gt;
Because the window has a zillion little filedrawers in the window  I didn't see that there was some yellow ones that are my active libs and my friend Thomas texted me from afar that I MUST refresh with the right click. &lt;BR /&gt;
&lt;BR /&gt;
Is there sas code to write to find the active filerefs?</description>
      <pubDate>Wed, 27 Oct 2010 23:02:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23497#M3637</guid>
      <dc:creator>WhiteSalmon</dc:creator>
      <dc:date>2010-10-27T23:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23498#M3638</link>
      <description>Here's one example of getting a list of active filerefs.  The WHERE clause filters out the system-generated filerefs you might not care to see.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc sql;&lt;BR /&gt;
 create table currentFiles as &lt;BR /&gt;
 select fileref, xpath, modate, directory from dictionary.extfiles&lt;BR /&gt;
 where substr(fileref,1,1) ne "#";&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Thu, 28 Oct 2010 20:41:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23498#M3638</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2010-10-28T20:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23499#M3639</link>
      <description>Hello WhiteSalmon,&lt;BR /&gt;
&lt;BR /&gt;
From my experience with EG, it is a good idea to have an underscore as a first character of a user library name. In this case this library is always displayed on the top of the library  list.&lt;BR /&gt;
&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Thu, 28 Oct 2010 21:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23499#M3639</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2010-10-28T21:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23500#M3640</link>
      <description>Chris:&lt;BR /&gt;
 Thanks for the code, it didn’t quite work on my system.&lt;BR /&gt;
&lt;BR /&gt;
  proc sql;&lt;BR /&gt;
15            create table currentFiles as&lt;BR /&gt;
16            select fileref,&lt;BR /&gt;
17            xpath, modate,&lt;BR /&gt;
18            directory&lt;BR /&gt;
19            from dictionary.extfiles&lt;BR /&gt;
20            where substr(fileref,1,1) ne "#";&lt;BR /&gt;
ERROR: The following columns were not found in the contributing tables: directory, modate.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
This is what worked:&lt;BR /&gt;
&lt;BR /&gt;
proc sql; &lt;BR /&gt;
   create table currentFiles as &lt;BR /&gt;
   select *&lt;BR /&gt;
   from dictionary.extfiles &lt;BR /&gt;
   where substr(fileref,1,1) ne "#";&lt;BR /&gt;
quit;</description>
      <pubDate>Fri, 29 Oct 2010 14:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23500#M3640</guid>
      <dc:creator>WhiteSalmon</dc:creator>
      <dc:date>2010-10-29T14:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23501#M3641</link>
      <description>Thanks for that SPR:&lt;BR /&gt;
&lt;BR /&gt;
I tried that tip and used this code to review but it didn't seem to land my _mylib&lt;BR /&gt;
on top of that list :&lt;BR /&gt;
&lt;BR /&gt;
title "Current Libraries";&lt;BR /&gt;
  proc sql;&lt;BR /&gt;
   select distinct(libname) &lt;BR /&gt;
   from sashelp.vlibnam;&lt;BR /&gt;
  quit;</description>
      <pubDate>Fri, 29 Oct 2010 14:58:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23501#M3641</guid>
      <dc:creator>WhiteSalmon</dc:creator>
      <dc:date>2010-10-29T14:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23502#M3642</link>
      <description>I meant the library displayed on the top of library portion of the Server list. You can access the Server List by selecting View -&amp;gt; Server.  Then double click on Servers, then of the server which you use, then on Libraries, and you will see this library list.</description>
      <pubDate>Fri, 29 Oct 2010 20:54:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23502#M3642</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2010-10-29T20:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Viewing active libraries and filerefs</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23503#M3643</link>
      <description>Bingo! &lt;BR /&gt;
I see ! I see! I see those librefs!&lt;BR /&gt;
Great idea! It helps those of us going blind from squinting at this stuff...</description>
      <pubDate>Fri, 29 Oct 2010 21:24:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Viewing-active-libraries-and-filerefs/m-p/23503#M3643</guid>
      <dc:creator>WhiteSalmon</dc:creator>
      <dc:date>2010-10-29T21:24:38Z</dc:date>
    </item>
  </channel>
</rss>

