<?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: Follow up question on the post &amp;quot;Insufficient space on file&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886495#M350290</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/84351"&gt;@Emma_at_SAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you,&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;for sharing your insight. Is there a risk that I remove a meaningful SPACE in my character variables if I use COMPRESS=YES in the SET statement of a DATA step?&lt;/P&gt;
&lt;P&gt;Thanks so much&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It does not change the values.&amp;nbsp; Just how the file is formatted on the disk.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 17:27:14 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-07-26T17:27:14Z</dc:date>
    <item>
      <title>Follow up question on the post "Insufficient space on file"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886420#M350265</link>
      <description>&lt;P&gt;I have a dataset with thousands of rows and when I tried to make several new datasets step-by-step at some point I received a similar error to the following post&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Enterprise-Guide/Insufficient-Space-in-file/m-p/593266#M34787" target="_blank"&gt;https://communities.sas.com/t5/SAS-Enterprise-Guide/Insufficient-Space-in-file/m-p/593266#M34787&lt;/A&gt;&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;ERROR: Insufficient space in file MYLIBRARY.MYTABLE

ERROR: File MYLIBRARY.MYTABLE is damaged. I/O processing did not complete.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;recommended using COMPRESS=YES&lt;/P&gt;
&lt;P&gt;I used the COMPRESS command like the following, and I did not get that ERROR message anymore BUT I wanted to make sure that I've applied the COMPRESS command correctly and that I will not miss any important data or space in my new WANT data.&lt;/P&gt;
&lt;P&gt;DATA WANT;&lt;/P&gt;
&lt;P&gt;SET HAVE (COMPRESS=YES);&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 13:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886420#M350265</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2023-07-26T13:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Follow up question on the post "Insufficient space on file"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886459#M350278</link>
      <description>&lt;P&gt;The COMPRESS= dataset option can be used to override the value of the COMPRESS option set in the system level COMPRESS option or defined in the LIBNAME statement that defined the libref.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When reading from a dataset SAS will just look at the dataset to tell if it was stored with compression or not.&amp;nbsp; So using&amp;nbsp;COMPRESS= makes no sense as a dataset option on the INPUT dataset.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to use it in that code then add is as a dataset option on the OUTPUT dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:12:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886459#M350278</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-07-26T15:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Follow up question on the post "Insufficient space on file"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886462#M350279</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;for your thoughts. To check if I am understanding your suggestion&lt;/P&gt;
&lt;P&gt;You suggest that it does not make sense to use COMPRESS=YES in the SET statement of a DATA step. At most, I may use COMPRESS=YES at the DATA statement of a data step like&lt;/P&gt;
&lt;P&gt;DATA WANT (COMPRESS=YES);&lt;/P&gt;
&lt;P&gt;SET HAVE;&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;but if I want to save the WANT dataset for my future permanent dataset then I should avoid using COMPRESS at any point in a data step.&lt;/P&gt;
&lt;P&gt;I appreciate it if you may check my understanding.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:29:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886462#M350279</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2023-07-26T15:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Follow up question on the post "Insufficient space on file"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886482#M350284</link>
      <description>&lt;P&gt;Compression will never be an issue in the future use of a dataset, compressed datasets are always readable by SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 16:51:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886482#M350284</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-07-26T16:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Follow up question on the post "Insufficient space on file"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886493#M350288</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;for sharing your insight. Is there a risk that I remove a meaningful SPACE in my character variables if I use COMPRESS=YES in the SET statement of a DATA step?&lt;/P&gt;
&lt;P&gt;Thanks so much&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 17:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886493#M350288</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2023-07-26T17:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Follow up question on the post "Insufficient space on file"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886495#M350290</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/84351"&gt;@Emma_at_SAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you,&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;for sharing your insight. Is there a risk that I remove a meaningful SPACE in my character variables if I use COMPRESS=YES in the SET statement of a DATA step?&lt;/P&gt;
&lt;P&gt;Thanks so much&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It does not change the values.&amp;nbsp; Just how the file is formatted on the disk.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 17:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886495#M350290</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-07-26T17:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Follow up question on the post "Insufficient space on file"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886517#M350299</link>
      <description>&lt;P&gt;Character variables are always padded with blanks to their defined length. Even if those blanks are compressed, they will be recreated upon reading observations into the PDV.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Almost all permanent datasets at the place I used to work at were compressed, and we never lost data.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Follow-up-question-on-the-post-quot-Insufficient-space-on-file/m-p/886517#M350299</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-07-26T18:38:30Z</dc:date>
    </item>
  </channel>
</rss>

