<?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: Size differences of exported file form SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470184#M285618</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe that the size of a text file is smaller than excel file only except large dataset over a million rows (becuase excel file can store only 2x2^20 - around a million rows).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I think that’s incorrect and definitely more complicated than a simple rule. It’ll also depend on the variable types, number of columns and wether the Excel file has graphs or any ther formatting.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jun 2018 03:57:01 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-06-14T03:57:01Z</dc:date>
    <item>
      <title>Size differences of exported file form SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470161#M285616</link>
      <description>&lt;P&gt;Hi, All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made two different file types (xlsx and txt : csv) by using the option, export from a SAS project.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I believe that the size of a text file is smaller than excel file only except large dataset over a million rows (becuase excel file can store only 2x2^20 - around a million rows).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, when I export data from SAS with these two types of file by using a same data, I found that some dataset saved as excel(.xlsx) is much smaller than text type.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any automatically applied compression process when the dataset is exported as xlsx from SAS?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried that matching up data types (numerical and char fields) of columns and other possible options, but I still do not get a clear explaination on that.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you have any suspicous part and possible ideas on this, please drop a hint. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I really appreciate any help from you all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 00:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470161#M285616</guid>
      <dc:creator>JayeL</dc:creator>
      <dc:date>2018-06-14T00:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Size differences of exported file form SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470182#M285617</link>
      <description>&lt;P&gt;xlsx files are actually zip files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rename your xlsx file to a zip extension and open it with your decompressor of choice to verify this fact.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 03:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470182#M285617</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-06-14T03:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Size differences of exported file form SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470184#M285618</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe that the size of a text file is smaller than excel file only except large dataset over a million rows (becuase excel file can store only 2x2^20 - around a million rows).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I think that’s incorrect and definitely more complicated than a simple rule. It’ll also depend on the variable types, number of columns and wether the Excel file has graphs or any ther formatting.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 03:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470184#M285618</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-06-14T03:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Size differences of exported file form SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470193#M285619</link>
      <description>&lt;P&gt;The modern Office files (since Microsoft finally saw the light and followed the example set by OpenOffice) are groups of xml files contained in a single .zip archive. XML is text with tags, so the files would initially be MUCH larger than ordinary text files, but the zip compression takes care of that very nicely.&lt;/P&gt;
&lt;P&gt;How much compression rate you get is dependent on the contents, so there is no clear cut answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But note that text files are inherently better for any kind of data transfer. A text file is a text file is a text file, eg the csv format has not changed for decades, and will not change in the foreseeable future. You don't need a special version of some special software to read it, any text editor is sufficient. The same is demonstrably not true for Office files.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 05:20:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470193#M285619</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-14T05:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Size differences of exported file form SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470203#M285620</link>
      <description>&lt;P&gt;From your posting,&lt;/P&gt;&lt;P&gt;I figured out the difference of xlsx file with my dataset(changed to .zip and checked the generated files in xml)&lt;/P&gt;&lt;P&gt;There were several common data in the dataset, and those were written in sharedStrings.xml of the archive.&lt;/P&gt;&lt;P&gt;now I understood that what happend on files.&lt;/P&gt;&lt;P&gt;It answered my questions and I learned a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate with your tips.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 06:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470203#M285620</guid>
      <dc:creator>JayeL</dc:creator>
      <dc:date>2018-06-14T06:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Size differences of exported file form SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470205#M285621</link>
      <description>&lt;P&gt;Thank you for your tip. I followed that your posting and I figured out the anatomy of excel files.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 06:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470205#M285621</guid>
      <dc:creator>JayeL</dc:creator>
      <dc:date>2018-06-14T06:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Size differences of exported file form SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470208#M285622</link>
      <description>&lt;P&gt;Thank your for your reply.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I understand that the file size is related to many complicate rules as you mentioned.&lt;BR /&gt;Since I handled very limited columns and data types (only few text and numbers) in this case, I had a question with a simple idea.&lt;/P&gt;&lt;P&gt;Thank you for your advice!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 06:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Size-differences-of-exported-file-form-SAS/m-p/470208#M285622</guid>
      <dc:creator>JayeL</dc:creator>
      <dc:date>2018-06-14T06:36:27Z</dc:date>
    </item>
  </channel>
</rss>

