<?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: SAS Datasets size in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376809#M65407</link>
    <description>&lt;P&gt;How did you check the size? What units did the size get reported in? Is it possible one is counting number of 512 byte blocks and the other is reporting number of Kilobytes?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2017 23:45:26 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2017-07-17T23:45:26Z</dc:date>
    <item>
      <title>SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376786#M65403</link>
      <description>Hi,&lt;BR /&gt;My co-worker and I are running the same program on pc sas but remotly loginin in on 2 different SAS servers. The size of the datasets.my pc sas creates are twice the size hers does. How do you guys explains this. Anything i can change in the settings of my pc sas? Any idea please? Thx</description>
      <pubDate>Mon, 17 Jul 2017 22:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376786#M65403</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-07-17T22:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376788#M65404</link>
      <description>&lt;P&gt;Run a PROC CONTENTS and look for differences. ie does she have the compress option set on by default.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 22:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376788#M65404</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-17T22:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376801#M65406</link>
      <description>By default you mean some settings in pc sas?</description>
      <pubDate>Mon, 17 Jul 2017 23:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376801#M65406</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-07-17T23:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376809#M65407</link>
      <description>&lt;P&gt;How did you check the size? What units did the size get reported in? Is it possible one is counting number of 512 byte blocks and the other is reporting number of Kilobytes?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 23:45:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376809#M65407</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-07-17T23:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376813#M65408</link>
      <description>&lt;P&gt;Whate Reeza is suggesting is that you both run this (substituting the name of your datasets for sashelp.class).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then check the output which should look something like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10381iA6D0AB9635B7D0FA/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="compress.png" title="compress.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've circled the bit to check - if hers says "Yes" and yours says "No" that's the answer - you can change the default setting by putting this in your autoexec,sas file - you should be aware though that it's possible for small compressed files to be slightly larger than their uncompressed versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options compress=yes;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Jul 2017 23:54:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376813#M65408</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-07-17T23:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376818#M65409</link>
      <description>I go to the unix folders through a ftp. Hers shows 3.2GB mine for example 7.8GB</description>
      <pubDate>Tue, 18 Jul 2017 00:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376818#M65409</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-07-18T00:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376819#M65410</link>
      <description>Chris we both use exactly the same program. If she has that global option compress=yes then I d have it too but i will still run proc contents.&lt;BR /&gt;&lt;BR /&gt;Thx all for the advices</description>
      <pubDate>Tue, 18 Jul 2017 00:05:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376819#M65410</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-07-18T00:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376820#M65411</link>
      <description>&lt;P&gt;The point is the options statement doesn't have to be in the program - autoexec.sas (if it's present in the correct location) will run at the start of every session and can set options for the whole session unless&amp;nbsp;they are changed.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 00:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376820#M65411</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-07-18T00:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376821#M65412</link>
      <description>&lt;P&gt;Depending on how your disks are configured on unix some will report the physical space used instead of the logic space used. &amp;nbsp;The &lt;STRONG&gt;du&lt;/STRONG&gt; command on linux now supports an &lt;STRONG&gt;--apparent-size&lt;/STRONG&gt; option. &amp;nbsp;I have some linux machines I am using now where there can be a large difference in the size reported depending on whether the --apparent-size option is used or not.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said it &amp;nbsp;is probably more likely that something else is different in how SAS ran the code. &amp;nbsp;Could be some minor difference in the code, oe perhaps you actually are reading different source files, or something about the settings like the COMPRESS= option, or even the blocksize that SAS used to write the observations.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 00:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376821#M65412</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-07-18T00:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376823#M65413</link>
      <description>But still this autoexec.sas needs to be included in her program which also be included in mine.no?</description>
      <pubDate>Tue, 18 Jul 2017 00:29:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376823#M65413</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-07-18T00:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376824#M65414</link>
      <description>We will run the du command. Thank you all again</description>
      <pubDate>Tue, 18 Jul 2017 00:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376824#M65414</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-07-18T00:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376826#M65415</link>
      <description>&lt;P&gt;No it's a seperate file - you can find out more details about it at&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#p0bmj7wjme32ayn1h4wim7trkhp6.htm#p0ceb6r7y2mkdsn1lc2ice1mx1dc" target="_self"&gt;this link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 00:33:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376826#M65415</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-07-18T00:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376848#M65416</link>
      <description>&lt;P&gt;She could also have set a preference or option differently in the same session or previously.&amp;nbsp;Did PROC CONTENTS show now difference between the datasets? You could also run PROC COMPARE to see what it says the differences are between the two datasets to determine any differences. The OBS option is another that can cause issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm assuming you've already checked the obvious that you both have the same versions and that the datasets created have the same number of observations and variables. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A common example is someone using EG and someone else using Base. EG defaults with VALIDVARNAME=ANY while Base defaults to VALIDVARNAME=V7. Thus the exact same code in EG and Base can provide different answers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/34400"&gt;@Tal&lt;/a&gt; wrote:&lt;BR /&gt;But still this autoexec.sas needs to be included in her program which also be included in mine.no?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;NO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 02:24:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376848#M65416</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-18T02:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376881#M65418</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/34400"&gt;@Tal&lt;/a&gt; wrote:&lt;BR /&gt;I go to the unix folders through a ftp. Hers shows 3.2GB mine for example 7.8GB&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You should run proc contents on both datasets and compare the outputs. On a UNIX system, proc contents will also include the physical file size in the host dependent section.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 07:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376881#M65418</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-07-18T07:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376973#M65423</link>
      <description>&lt;P&gt;so&amp;nbsp; she ran proc contents and&amp;nbsp; she&amp;nbsp; has the&amp;nbsp; compress -char option set and&amp;nbsp; i have&amp;nbsp; compression-no&lt;/P&gt;
&lt;P&gt;we also&amp;nbsp; found the autoexec.sas&amp;nbsp; file in one of the&amp;nbsp; sharedrives. Does&amp;nbsp; that now means&amp;nbsp; her&amp;nbsp; pc sas connects to&amp;nbsp; that autoexec&amp;nbsp; file and&amp;nbsp; mine does not?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or&amp;nbsp; if i&amp;nbsp; just use systen option compress=char ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 13:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376973#M65423</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-07-18T13:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Datasets size</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376980#M65424</link>
      <description>&lt;P&gt;I would not use the system option. Datasets that have no (or very short) strings may even increase in size.&lt;/P&gt;
&lt;P&gt;Use the compress=yes dataset option, and look at the log what is reported. Keep the option only if a dataset is reduced significantly in size.&lt;/P&gt;
&lt;P&gt;What constitutes "significantly" is up to you. After all, 5% of 20 GB is still 1 GB.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 13:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Datasets-size/m-p/376980#M65424</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-07-18T13:09:02Z</dc:date>
    </item>
  </channel>
</rss>

