<?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 Why Proc Export on .XLS format continues increasing on file sizes? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Why-Proc-Export-on-XLS-format-continues-increasing-on-file-sizes/m-p/714871#M220755</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know the reason why file sizes continue increasing after I rerun the same command below and get file output, '&lt;STRONG&gt;SUMMARY1_POST_JOURNAL.xls&lt;/STRONG&gt;'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data = WORK.s1
outfile = '/tmp/SUMMARY1_POST_JOURNAL.xls'
dbms =  xls replace;
sheet = "sum1";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;# First run&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-01-28_11h08_41.png" style="width: 521px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54020i6DEEAF99F16F76FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-01-28_11h08_41.png" alt="2021-01-28_11h08_41.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Second run&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2021-01-28_11h10_08.png" style="width: 505px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54021i7010FAE1452133F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-01-28_11h10_08.png" alt="2021-01-28_11h10_08.png" /&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;PS. I uses SAS9.4&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 04:12:40 GMT</pubDate>
    <dc:creator>toeysk130</dc:creator>
    <dc:date>2021-01-28T04:12:40Z</dc:date>
    <item>
      <title>Why Proc Export on .XLS format continues increasing on file sizes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-Proc-Export-on-XLS-format-continues-increasing-on-file-sizes/m-p/714871#M220755</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know the reason why file sizes continue increasing after I rerun the same command below and get file output, '&lt;STRONG&gt;SUMMARY1_POST_JOURNAL.xls&lt;/STRONG&gt;'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data = WORK.s1
outfile = '/tmp/SUMMARY1_POST_JOURNAL.xls'
dbms =  xls replace;
sheet = "sum1";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;# First run&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-01-28_11h08_41.png" style="width: 521px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54020i6DEEAF99F16F76FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-01-28_11h08_41.png" alt="2021-01-28_11h08_41.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Second run&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2021-01-28_11h10_08.png" style="width: 505px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54021i7010FAE1452133F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-01-28_11h10_08.png" alt="2021-01-28_11h10_08.png" /&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;PS. I uses SAS9.4&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 04:12:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-Proc-Export-on-XLS-format-continues-increasing-on-file-sizes/m-p/714871#M220755</guid>
      <dc:creator>toeysk130</dc:creator>
      <dc:date>2021-01-28T04:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc Export on .XLS format continues increasing on file sizes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-Proc-Export-on-XLS-format-continues-increasing-on-file-sizes/m-p/714910#M220771</link>
      <description>&lt;P&gt;That seems to be a "feature" of the Microsoft module used to write the xls file. I guess it keeps information about the changes from the previous file.&lt;/P&gt;
&lt;P&gt;Check what happens if you remove (or rename) the existing file first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS nowadays you should use DBMS=XLSX.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 08:56:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-Proc-Export-on-XLS-format-continues-increasing-on-file-sizes/m-p/714910#M220771</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-28T08:56:57Z</dc:date>
    </item>
  </channel>
</rss>

