<?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: Some tables missing from the SAS dictionary tables in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876871#M20741</link>
    <description>&lt;P&gt;Hi Anne - you are seeing pre-assigned (in metadata) libraries in EG.&amp;nbsp; These won't be visible in SASHELP or DICTIONARY tables until they are assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More info here:&amp;nbsp;&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/bicdc/9.4/bidsag/p1ac6c9mrz0gn2n1spvpkf55ttyk.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/bicdc/9.4/bidsag/p1ac6c9mrz0gn2n1spvpkf55ttyk.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For info, these libraries CAN be explored without needing to assign them using our free tool:&amp;nbsp; &lt;A href="https://datacontroller.io" target="_blank"&gt;https://datacontroller.io&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Allan&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 09:25:30 GMT</pubDate>
    <dc:creator>AllanBowe</dc:creator>
    <dc:date>2023-05-22T09:25:30Z</dc:date>
    <item>
      <title>Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876021#M20735</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I want to use the SAS dictionary tables (SASHELP views) to retrieve some specific information but some tables present in the environment (I can access them when browsing the servers directory structure - I'm using EGuide for this) are not included in the dictionary tables.&lt;/P&gt;
&lt;P&gt;Would anyone have an idea where the problem could be?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many TIA&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 14:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876021#M20735</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-05-16T14:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876024#M20736</link>
      <description>Tables or libraries? Are some from a server, ie connection to SQL server and are any over 32 characters in length?&lt;BR /&gt;Are any possibly views instead of data?&lt;BR /&gt;Check the view list as well as tables.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2023 14:52:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876024#M20736</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-05-16T14:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876045#M20737</link>
      <description>&lt;P&gt;the dictionary tables will only give you info for datasets that are assigned to a library in the current session&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so the answer would be, to assign a library for each directory to extract the metadata&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 16:31:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876045#M20737</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2023-05-16T16:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876847#M20738</link>
      <description>&lt;P&gt;Thank you for your answers&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28909"&gt;@AllanBowe&lt;/a&gt;&amp;nbsp;. These are not views nor libraries, are plain SAS datasets (no SQL connection) and their name is less than 32 characters long. If I programmatically assign the library the table is indeed found, but what I do not understand is why I can see the (originally assigned) library in the EGuide Server/Libraries treeview but do not have the tables in the SASHELP views.&lt;/P&gt;
&lt;P&gt;I've noticed that some icons in the treeview are white while others are yellow. Right-clicking on the libraries I can assign the white ones and unassign the yellow ones, so indeed &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28909"&gt;@AllanBowe&lt;/a&gt;&amp;nbsp;the "issue" is a matter of (un)assigned libraries. I am still puzzled by this (new to me) concept of "unassigned" libraries which are accessible through the treeview hence somehow "known but not assigned" - so far I had known about assigned and unassigned libraries, but not of anything in between &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;. Does any of you know how SAS determines which are which?&lt;/P&gt;
&lt;P&gt;Many thanks in advance (again)!&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 06:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876847#M20738</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-05-22T06:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876848#M20739</link>
      <description>&lt;P&gt;Library and dataset names must be uppercase when searching for them in the DICTIONARY tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 06:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876848#M20739</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-22T06:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876865#M20740</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;, that had been done properly&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876865#M20740</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-05-22T08:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876871#M20741</link>
      <description>&lt;P&gt;Hi Anne - you are seeing pre-assigned (in metadata) libraries in EG.&amp;nbsp; These won't be visible in SASHELP or DICTIONARY tables until they are assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More info here:&amp;nbsp;&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/bicdc/9.4/bidsag/p1ac6c9mrz0gn2n1spvpkf55ttyk.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/bicdc/9.4/bidsag/p1ac6c9mrz0gn2n1spvpkf55ttyk.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For info, these libraries CAN be explored without needing to assign them using our free tool:&amp;nbsp; &lt;A href="https://datacontroller.io" target="_blank"&gt;https://datacontroller.io&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Allan&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876871#M20741</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2023-05-22T09:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876872#M20742</link>
      <description>&lt;P&gt;My second approach would then be to test such a dataset directly.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_
set lib.dataset (obs=10);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and look at the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a dataset&amp;nbsp;&lt;EM&gt;file&lt;/EM&gt; with a incorrect name (uppercase characters), the listing in the EG navigation pane will show the, but they won't be accessible.&lt;/P&gt;
&lt;P&gt;This would also cause ERROR messages when you use the DICTIONARY tables in code.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876872#M20742</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-22T09:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876891#M20743</link>
      <description>&lt;P&gt;A white library viewed in EG is unassigned, meaning it cannot be used in the SAS session.&amp;nbsp; But the library definition is defined in SAS metadata, so EG&amp;nbsp; can see that the library object(?) exists.&amp;nbsp; When you&amp;nbsp; right-click it you assign it and it turns&amp;nbsp; yellow.&amp;nbsp; The assigned library can be used in your SAS session. From the docs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;H2 id="p1ah7v13zmq2idn1gzueglneaziq" class="xisDoc-title"&gt;Assigning Libraries&lt;/H2&gt;
&lt;P class="xisDoc-paragraph"&gt;When you view a SAS server in SAS Enterprise Guide or SAS Enterprise Guide Explorer, you see a list of libraries on the selected server. The list includes both libraries that are assigned (identified with a yellow icon) and libraries that are unassigned (identified with a white icon).&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;Assigned libraries are libraries that are pre-assigned or assigned in an autoexec program. &lt;EM&gt;&lt;STRONG&gt;Unassigned libraries are libraries that have been defined in metadata but have not yet been assigned or accessed&lt;/STRONG&gt;&lt;/EM&gt;. To assign an unassigned library, right-click on the library and select&amp;nbsp;&lt;SPAN class="xisDoc-windowItem"&gt;Assign&lt;/SPAN&gt;. If the library definition was created by SAS Enterprise Guide Explorer, the library is assigned using the method that was specified in the library definition. Otherwise, the library is assigned using the META engine in its default mode, which means that the library is Read-Only. The library contents also match the metadata definition, so physical tables that are not defined in metadata are not displayed. Furthermore, tables and columns are not displayed if the user is not authorized to see that data.&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P class="xisDoc-paragraph"&gt;&lt;A href="https://documentation.sas.com/doc/en/bicdc/9.4/bidaag/n14hxpmvrmifi3n1wi1imvu9n5h8.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/bicdc/9.4/bidaag/n14hxpmvrmifi3n1wi1imvu9n5h8.htm&lt;/A&gt;&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;You can think about a white library as being similar to having a LIBNAME statement in your code, but you haven't executed the the statement yet.&amp;nbsp; Then when you execute the LIBNAME statement, it creates the library.&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;Then benefit of having a library defined in the metadata (by an admin) but NOT assigned is that it gives SAS programmers/users an easy way to assign the library themselves, but avoids the problem of having 100s of automatically pre-assigned libraries which would flood your dictionary tables with unneeded data and generally slow things down.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:49:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/876891#M20743</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-05-22T12:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/877062#M20745</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;! I wonder, is there a programmatic way to assign all libraries (so that, for example, some code using the SAS dictionary tables could be properly tested in EGuide)?&lt;/P&gt;
&lt;P&gt;Many thanks in advance!&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 12:20:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/877062#M20745</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-05-23T12:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/877071#M20746</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/418866"&gt;@Anne_A&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;! I wonder, is there a programmatic way to assign all libraries (so that, for example, some code using the SAS dictionary tables could be properly tested in EGuide)?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, probably.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, I can't do much better than that. : )&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The library definitions are stored in metadata (for a SAS 9 / EBI server), so you should be able to crawl through the metadata to get a list of all of the libraries that are defined ("registered") and then once you have that list, you could generate and execute a libname statement to assign each one (using macro language or whatever).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've always found crawling through metadata to be a hassle.&amp;nbsp; See for example&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/Library-Extract-metadata/td-p/676885" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/Library-Extract-metadata/td-p/676885&lt;/A&gt;&amp;nbsp; and&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1k9zipe59ha2an1pq34gu143lay.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1k9zipe59ha2an1pq34gu143lay.htm&lt;/A&gt;&amp;nbsp; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's possible if you search papers user group papers at lexjansen.com, someone will have already shared code for this.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 13:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/877071#M20746</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-05-23T13:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/877098#M20747</link>
      <description>&lt;P&gt;Definitely - it's done in the DC&amp;nbsp;&lt;A href="https://docs.datacontroller.io/admin-services/#refresh-data-catalog" target="_self"&gt;Data Catalog generator&lt;/A&gt;, and the macros are open source:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;mm_getlibs - fetch all meta libraries:&amp;nbsp;&lt;A href="https://core.sasjs.io/mm__getlibs_8sas_source.html" target="_blank"&gt;https://core.sasjs.io/mm__getlibs_8sas_source.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;mm_assignlib - assign lib using META engine:&amp;nbsp;&lt;A href="https://core.sasjs.io/mm__assignlib_8sas.html" target="_blank"&gt;https://core.sasjs.io/mm__assignlib_8sas.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If you need to assign a DIRECT libname engine, that's also (mostly) possible:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;mm_assigndirectlib - assign lib using NATIVE engine:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mm__assigndirectlib_8sas.html" target="_blank"&gt;https://core.sasjs.io/mm__assigndirectlib_8sas.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Let me know if you need any additional libname engines supported in that last one, or feel free to raise a PR!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Allan&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 15:33:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/877098#M20747</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2023-05-23T15:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Some tables missing from the SAS dictionary tables</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/877660#M20750</link>
      <description>&lt;P&gt;AWESOME! Thank you very much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28909"&gt;@AllanBowe&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;!&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 09:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Some-tables-missing-from-the-SAS-dictionary-tables/m-p/877660#M20750</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-05-26T09:57:23Z</dc:date>
    </item>
  </channel>
</rss>

