<?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: Need to find table size in SAS EG in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622556#M183137</link>
    <description>&lt;P&gt;Would I insert the libname statement in place of YouR_Libmname?&amp;nbsp; I assume?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2020 21:03:08 GMT</pubDate>
    <dc:creator>BarryP</dc:creator>
    <dc:date>2020-02-05T21:03:08Z</dc:date>
    <item>
      <title>Need to find table size in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622549#M183133</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I searched the forum and found a solution, but I don't understand what any of the commands mean so I'm unable to modify it to get it to do what I need.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;sql&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="token statement"&gt;select&lt;/SPAN&gt; memname&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; filesize &lt;SPAN class="token procnames"&gt;format&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;sizekmg10&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;
   &lt;SPAN class="token keyword"&gt;from&lt;/SPAN&gt; dictionary&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;tables&lt;/SPAN&gt;
   &lt;SPAN class="token statement"&gt;where&lt;/SPAN&gt; &lt;SPAN class="token statement"&gt;libname&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'SASHELP'&lt;/SPAN&gt; and memtype&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'DATA'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;quit&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; This solution gives me a list of random tables I don't recognize and does not include any of the tables that I need to know the sizes of.&lt;BR /&gt;&lt;BR /&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 20:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622549#M183133</guid>
      <dc:creator>BarryP</dc:creator>
      <dc:date>2020-02-05T20:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find table size in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622553#M183135</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/84517"&gt;@BarryP&lt;/a&gt;&amp;nbsp; Do you mean to say you want to query tables sizes in the library that is of your interest and not SASHELP?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If yes, wouldn't you be stating the libname of your interest i.e&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where libname='YOUR_LIBNAME' and memtype='DATA';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, Dictionary tables is akin to metadata(data about data) that contains information about various libraries, tables, columns, etc etc. In other words Dictionaries are data definitions. Therefore the need for you is perhaps query the library(schema) of your interest&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 20:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622553#M183135</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-02-05T20:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find table size in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622556#M183137</link>
      <description>&lt;P&gt;Would I insert the libname statement in place of YouR_Libmname?&amp;nbsp; I assume?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 21:03:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622556#M183137</guid>
      <dc:creator>BarryP</dc:creator>
      <dc:date>2020-02-05T21:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find table size in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622558#M183138</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Okay,&lt;BR /&gt;&lt;BR /&gt;I can do this with basic Libnames, like SASHELP and WORK but other's are not working.&amp;nbsp; Specifically a name like, 'HEARTDS&amp;nbsp;- DI Work (ABXY_HEARTDS_0_1_0_0_0_0_0_0)' is not returning any results.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 21:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622558#M183138</guid>
      <dc:creator>BarryP</dc:creator>
      <dc:date>2020-02-05T21:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find table size in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622559#M183139</link>
      <description>&lt;P&gt;You will need to identify the correct library reference name for the query to work. A library reference is name that has a maximum of 8 bytes with 1 char=1 byte. The name can begin only with a letter or an underscore followed by numbers or chars&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 21:16:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-find-table-size-in-SAS-EG/m-p/622559#M183139</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-02-05T21:16:58Z</dc:date>
    </item>
  </channel>
</rss>

