<?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 CIMPORT and COMPRESS=YES in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/CIMPORT-and-COMPRESS-YES/m-p/51841#M10901</link>
    <description>Greetings.&lt;BR /&gt;
&lt;BR /&gt;
OPTIONS COMPRESS=YES doesn't seem to work with PROC CIMPORT. What I did was:&lt;BR /&gt;
&lt;BR /&gt;
[1] created an uncompressed SAS-dataset and CPORTed it. Proc DATASETS / CONTENTS shows me that the SAS-dataset is, indeed, uncompressed.&lt;BR /&gt;
[2] I then deleted the dataset and recreated it with OPTIONS COMPRESS=YES. Works fine. Proc DATASETS /CONTENTS shows me COMPRESS CHAR etc.&lt;BR /&gt;
[3] Next I CIMPORTed the file from step [1] and I specified OPTIONS COMPRESS=YES in the program.&lt;BR /&gt;
&lt;BR /&gt;
Much to my surprise proc DATASETS / CONTENTS shows me that the dataset is no longer compressed! Is this how it's supposed to work? Proc CIMPORT undoes my compression? We're running (mainframe) SAS 9.0101M3&lt;BR /&gt;
&lt;BR /&gt;
TIA</description>
    <pubDate>Mon, 06 Oct 2008 08:47:49 GMT</pubDate>
    <dc:creator>Willempie</dc:creator>
    <dc:date>2008-10-06T08:47:49Z</dc:date>
    <item>
      <title>CIMPORT and COMPRESS=YES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CIMPORT-and-COMPRESS-YES/m-p/51841#M10901</link>
      <description>Greetings.&lt;BR /&gt;
&lt;BR /&gt;
OPTIONS COMPRESS=YES doesn't seem to work with PROC CIMPORT. What I did was:&lt;BR /&gt;
&lt;BR /&gt;
[1] created an uncompressed SAS-dataset and CPORTed it. Proc DATASETS / CONTENTS shows me that the SAS-dataset is, indeed, uncompressed.&lt;BR /&gt;
[2] I then deleted the dataset and recreated it with OPTIONS COMPRESS=YES. Works fine. Proc DATASETS /CONTENTS shows me COMPRESS CHAR etc.&lt;BR /&gt;
[3] Next I CIMPORTed the file from step [1] and I specified OPTIONS COMPRESS=YES in the program.&lt;BR /&gt;
&lt;BR /&gt;
Much to my surprise proc DATASETS / CONTENTS shows me that the dataset is no longer compressed! Is this how it's supposed to work? Proc CIMPORT undoes my compression? We're running (mainframe) SAS 9.0101M3&lt;BR /&gt;
&lt;BR /&gt;
TIA</description>
      <pubDate>Mon, 06 Oct 2008 08:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CIMPORT-and-COMPRESS-YES/m-p/51841#M10901</guid>
      <dc:creator>Willempie</dc:creator>
      <dc:date>2008-10-06T08:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: CIMPORT and COMPRESS=YES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CIMPORT-and-COMPRESS-YES/m-p/51842#M10902</link>
      <description>By reading the documentation, including this SAS note: &lt;A href="http://support.sas.com/kb/4/720.html" target="_blank"&gt;http://support.sas.com/kb/4/720.html&lt;/A&gt;, my guess is that the compression option used when creating the transport file is taking precedence of any options set in the current session.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Mon, 06 Oct 2008 08:59:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CIMPORT-and-COMPRESS-YES/m-p/51842#M10902</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-10-06T08:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: CIMPORT and COMPRESS=YES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/CIMPORT-and-COMPRESS-YES/m-p/51843#M10903</link>
      <description>Linus, I think you're right. I found Usage Note 4720 and, indeed, CPORT preserves the compression-attribute and CIMPORT recreates with whatever info it finds on the transport-file.&lt;BR /&gt;
&lt;BR /&gt;
How unfortunate.</description>
      <pubDate>Mon, 06 Oct 2008 09:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/CIMPORT-and-COMPRESS-YES/m-p/51843#M10903</guid>
      <dc:creator>Willempie</dc:creator>
      <dc:date>2008-10-06T09:22:33Z</dc:date>
    </item>
  </channel>
</rss>

