<?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: How to read the size of a file witout using proc contents or exporting file? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725392#M225309</link>
    <description>&lt;P&gt;See this example code for SASHELP.CLASS:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select filesize from dictionary.tables
where libname = "SASHELP" and memname = "CLASS";
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Mar 2021 10:27:10 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-03-11T10:27:10Z</dc:date>
    <item>
      <title>How to read the size of a file witout using proc contents or exporting file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725390#M225308</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After running some codes, I have some datasets as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_0-1615456451741.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55807i5BA95EBAD17CE97C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="My97_0-1615456451741.png" alt="My97_0-1615456451741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am wondering if there is any way to see the size of a dataset (e.g: pctzero) on that list without using proc contents and exporting the dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 09:55:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725390#M225308</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-03-11T09:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the size of a file witout using proc contents or exporting file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725392#M225309</link>
      <description>&lt;P&gt;See this example code for SASHELP.CLASS:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select filesize from dictionary.tables
where libname = "SASHELP" and memname = "CLASS";
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Mar 2021 10:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725392#M225309</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-11T10:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the size of a file witout using proc contents or exporting file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725420#M225326</link>
      <description>&lt;P&gt;Which definition of "size" are you wanting? Bytes, Kbytes,number of records, something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you right click on the data set icon do you get a context menu? Does that show a "Details" option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 12:53:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725420#M225326</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-03-11T12:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the size of a file witout using proc contents or exporting file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725612#M225415</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no details option then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="158030614_3378829182217097_6992934509268133587_n.jpg" style="width: 745px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55842iC0A147132F1ECA90/image-size/large?v=v2&amp;amp;px=999" role="button" title="158030614_3378829182217097_6992934509268133587_n.jpg" alt="158030614_3378829182217097_6992934509268133587_n.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what I want is how many GB, or MB the file is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 20:38:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725612#M225415</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-03-11T20:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the size of a file witout using proc contents or exporting file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725618#M225417</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your suggestion.&lt;/P&gt;
&lt;P&gt;I run it and I got the result as below for sashelp. class, could you please tell me how to read it, is it under KB or bytes, simplistically speaking, how many mb it is ?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_0-1615495376754.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55843i1D302864FB4ECFD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="My97_0-1615495376754.png" alt="My97_0-1615495376754.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I run the code&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select * from dictionary.dictionaries
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To get the information but they did not show it is KB or bytes or else&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_1-1615495480327.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55844i89DBDC2C8663D2A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_1-1615495480327.png" alt="My97_1-1615495480327.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 20:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725618#M225417</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-03-11T20:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the size of a file witout using proc contents or exporting file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725627#M225422</link>
      <description>&lt;P&gt;filesize is in bytes. CLASS is so small that it is stored in a single dataset page, which is 128K.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 20:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-size-of-a-file-witout-using-proc-contents-or/m-p/725627#M225422</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-03-11T20:54:13Z</dc:date>
    </item>
  </channel>
</rss>

