<?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 Identifying Files Size in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553131#M153784</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using SAS EG and connected to a SAS Server. I would like to check the files size that are sitting on a library called (NETZ2). I used the following codes to check the file size.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
 select memname, filesize format=sizekmg10.1
   from dictionary.tables
   where libname='SASDATA' and memtype='DATA';
quit;&lt;/CODE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the result shows &lt;STRONG&gt;0.00KB&lt;/STRONG&gt; size of file in the respective column as shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 527px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28932i44FC92D1E57B4A25/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meanwhile, the dataset (for example:&amp;nbsp;FACT_BPPD_POPULATION) actually contained data for roughly 75 million records. However, when i try to check file size for datasets that are sitting in other libraries with the proc&amp;nbsp; sql above codes i could get the exact file size for those datasets in the other libraries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone please help me to understand why this is happening? and if there is any other way that i can check the filesize for datasets in this particular library.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2019 05:39:38 GMT</pubDate>
    <dc:creator>sheren_deep1</dc:creator>
    <dc:date>2019-04-23T05:39:38Z</dc:date>
    <item>
      <title>Identifying Files Size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553131#M153784</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using SAS EG and connected to a SAS Server. I would like to check the files size that are sitting on a library called (NETZ2). I used the following codes to check the file size.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
 select memname, filesize format=sizekmg10.1
   from dictionary.tables
   where libname='SASDATA' and memtype='DATA';
quit;&lt;/CODE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the result shows &lt;STRONG&gt;0.00KB&lt;/STRONG&gt; size of file in the respective column as shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 527px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28932i44FC92D1E57B4A25/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meanwhile, the dataset (for example:&amp;nbsp;FACT_BPPD_POPULATION) actually contained data for roughly 75 million records. However, when i try to check file size for datasets that are sitting in other libraries with the proc&amp;nbsp; sql above codes i could get the exact file size for those datasets in the other libraries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone please help me to understand why this is happening? and if there is any other way that i can check the filesize for datasets in this particular library.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 05:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553131#M153784</guid>
      <dc:creator>sheren_deep1</dc:creator>
      <dc:date>2019-04-23T05:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Files Size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553134#M153785</link>
      <description>&lt;P&gt;Is "Netz2" aka "SASDATA" a base/v9 library?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 06:02:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553134#M153785</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-04-23T06:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Files Size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553139#M153787</link>
      <description>&lt;P&gt;Could your NETZ2 library point to a Netezza database - SAS cannot provide table size details for external databases.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 07:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553139#M153787</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-04-23T07:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying Files Size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553203#M153805</link>
      <description>&lt;P&gt;Or if you were using SPDServer for SAS, you can't get table size either .&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 12:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-Files-Size/m-p/553203#M153805</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-04-23T12:53:03Z</dc:date>
    </item>
  </channel>
</rss>

