<?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: File becomes bigger after PROC CPORT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/475090#M122149</link>
    <description>&lt;P&gt;We used proc compare after cimport and there is no difference from the original table. However, they have different file size. I think one of the reason it has difference on size is because compress option was done when the original table was created. When we cport and cimport the table the file size went larger but there is no issue on proc compare. So it's still safe to conclude that the cimported data is exactly the same from the original data?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jul 2018 04:19:08 GMT</pubDate>
    <dc:creator>iSAS</dc:creator>
    <dc:date>2018-07-03T04:19:08Z</dc:date>
    <item>
      <title>File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/472864#M121285</link>
      <description>&lt;P&gt;I tried PROC CPORT on my data set expecting that the file size will become smaller but it turned out to be the opposite. The size of the file, in .xpt format, become bigger. May I know the reason behind this, is this issue common?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 04:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/472864#M121285</guid>
      <dc:creator>iSAS</dc:creator>
      <dc:date>2018-06-25T04:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/472867#M121287</link>
      <description>&lt;P&gt;CPORT files are standardised so they can be easily exchanged between computers with different operating systems and / or different SAS versions. They are not optimised to reduce storage. If the SAS datasets you CPORT are originally compressed, then I'm not surprised they would end up bigger.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also CPORT files have a fixed blocksize so yet another reason they could be bigger:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 class="xis-title"&gt;Verifying That the Communications Software Has Not Changed File Attributes&lt;/H2&gt;
&lt;DIV id="p0f6xfdl0bjd67n11yd0pgff6wuv" class="xis-topicContent"&gt;
&lt;DIV id="p16tunflqdd6xln1nlcq1xxl3ump" class="xis-paragraph"&gt;Verify that your communications software does not change file attributes. Here are the required attributes with values:&lt;/DIV&gt;
&lt;DIV id="n0tc8slkw06nlen1ap1uwyyrt5o1" class="xis-table"&gt;
&lt;TABLE class="tgroup"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p08r21eb6fxfzan1m0iefcpk30zb" class="xis-paraTableFirst"&gt;Logical record length (LRECL)&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="n1v3s5pttnyl6pn1ihgo2ji4vnyh" class="xis-paraTableFirst"&gt;80 or an integer that is a multiple of 80 (for example, 160, 240, 320)&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="n0nl0tgvux9jicn1fo2fmogu025h" class="xis-paraTableFirst"&gt;Block size (BLKSIZE)&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="n1mcghy1lyabd4n0zey1h3wm4kbj" class="xis-paraTableFirst"&gt;8000 blocks&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="n05bhdsi1low2bn0zx817p8p2vsb" class="xis-paraTableFirst"&gt;Record format (RECFM)&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="xis-horizontalLeft xis-verticalTop"&gt;
&lt;DIV id="p1g6f6en01avhjn1b5pk4vkxd7cj" class="xis-paraTableFirst"&gt;Fixed block&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Jun 2018 05:24:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/472867#M121287</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-06-25T05:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/472892#M121297</link>
      <description>&lt;P&gt;What is it your&amp;nbsp;&lt;STRONG&gt;actually&amp;nbsp;&lt;/STRONG&gt;trying to achieve here, in terms of this post and your other one on Gzip?&amp;nbsp; Transport files are just that, a method of transporting a file from one operating system to another, they are not compressed files.&amp;nbsp; What do you need compressed files for?&amp;nbsp; What is the process you are trying to achieve?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 07:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/472892#M121297</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-06-25T07:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/473340#M121453</link>
      <description>&lt;P&gt;The xpt format is used for transport of data between operating systems and SAS versions, it is not meant to be used for reducing storage.&lt;/P&gt;
&lt;P&gt;If you need a radical reduction in used space, use gzip or similar.&lt;/P&gt;
&lt;P&gt;Reasoning:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;both methods require one step to make the file readable for SAS again (proc cimport, or gzip -d)&lt;/LI&gt;
&lt;LI&gt;the compression achieved with gzip is much better than that of internal SAS means (compress=yes, compress=binary)&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 26 Jun 2018 12:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/473340#M121453</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-26T12:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474354#M121873</link>
      <description>&lt;P&gt;Thanks to all who responded to my questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our current situation/issue is we will soon be migrating from SAS 9.3 to 9.4 and we need to compress our data sets as much as we could since we're running out of space on our server. We looked for ways on how to compress the files and decided to combine proc cport and gzip since we tested one data set&amp;nbsp; on this and its size were compressed from 65GB to just 212MB. However, upon testing this to other data sets, we notice inconsistencies like after using proc cimport and gzip -d the size of the data set isn't the same prior to compressing. This concerned us since of thinking that the data set might not be fully equal with the original one. So for now, we're just using gzip since it never affected the size of dataset even after unzipping.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 07:58:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474354#M121873</guid>
      <dc:creator>iSAS</dc:creator>
      <dc:date>2018-06-29T07:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474357#M121875</link>
      <description>&lt;P&gt;You can use PROC COMPARE to ensure that your migrated data is exactly the same as your original data. Create a file share to your 9.3 data from your new SAS server so you can easily compare tables. If you are changing operating systems that might make it a bit harder to compare. Please advise us what operating systems both of your SAS servers run on.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 07:09:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474357#M121875</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-06-29T07:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474359#M121877</link>
      <description>&lt;P&gt;I would strongly advise to do a direct jump to the current SAS version (9.4M5). Otherwise you'll have to do all the work again RSN. There are so many important additions in 9.4 that it makes the intermediate step to 9.3 just a waste of time.&lt;/P&gt;
&lt;P&gt;We did 9.2 to 9.4 recently, and since both servers run AIX, we just had to copy the files as they are.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 07:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474359#M121877</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-29T07:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474367#M121878</link>
      <description>&lt;P&gt;My thoughts exactly, no reason to migrate to anything other than 9.4 at this moment in time.&amp;nbsp; And yes, only the 32bit v 64bit is the real killer but that should only affect catalogs (which are bad bad bad!).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if your server is running out of space, consider upgrading it before migration.&amp;nbsp; You can buy thousands of TB now so cheap it is untrue.&lt;/P&gt;
&lt;P&gt;I assume you have the whole thing planned out, md5 hash checks on base files versus moved, backed up original, proc compares, code testing etc?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 07:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474367#M121878</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-06-29T07:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474371#M121880</link>
      <description>&lt;P&gt;My mistake guys sorry. We're migrating from 9.3 to 9.4&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 07:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474371#M121880</guid>
      <dc:creator>iSAS</dc:creator>
      <dc:date>2018-06-29T07:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474372#M121881</link>
      <description>&lt;P&gt;And some more thoughts regarding space issues:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;use the compress options on all datasets, and look at the log to see if it has a reasonably positive effect (3% is not worth it)&lt;/LI&gt;
&lt;LI&gt;expanding disk storage is not such an issue, given todays price/TB, even with high-end devices (SSD over FC)&lt;/LI&gt;
&lt;LI&gt;for the sake of manageability, you should reduce the number of datasets present for online processing to what's really needed. Once you have the need to balance long term keeping vs storage availability, implement a suitable archival system. With us, this is handled by TSM.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;And finally, I advise to not migrate in place on a given server. Set up a new one with the current SAS version, copy/migrate your data (depending on involved operating system(s), bitness or encoding issues), get it up and running, and once you've verified it's OK, switch your users over and decommission the old one. It's the most painless method for you and your users. As long as you run production on only one server, SAS (in my experience) won't object to having two installations in parallel for a limited time.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 08:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474372#M121881</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-29T08:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474373#M121882</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/132557"&gt;@iSAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;My mistake guys sorry. We're migrating from 9.3 to 9.4&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Now that's good news &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My other thoughts still apply, of course.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 08:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/474373#M121882</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-29T08:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/475090#M122149</link>
      <description>&lt;P&gt;We used proc compare after cimport and there is no difference from the original table. However, they have different file size. I think one of the reason it has difference on size is because compress option was done when the original table was created. When we cport and cimport the table the file size went larger but there is no issue on proc compare. So it's still safe to conclude that the cimported data is exactly the same from the original data?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 04:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/475090#M122149</guid>
      <dc:creator>iSAS</dc:creator>
      <dc:date>2018-07-03T04:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: File becomes bigger after PROC CPORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/475364#M122237</link>
      <description>&lt;P&gt;When the report from proc compare finds no differences, you're good. But that works on the logical (content) side of things. Physical file parameters are not checked, and later SAS versions tend to use a larger pagesize, which results in different file layouts and sizes.&lt;/P&gt;
&lt;P&gt;If the original datasets were compressed, proc cport/cimport should honor that and compress the imported datasets.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 06:55:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-becomes-bigger-after-PROC-CPORT/m-p/475364#M122237</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-07-04T06:55:09Z</dc:date>
    </item>
  </channel>
</rss>

