<?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: ERROR: No disk space is available for the write operation. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308007#M66021</link>
    <description>&lt;P&gt;One solution that might work to solve this problem is to use TAGSORT. It will reduce the space needed to sort.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;SORT&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tagsort&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DATA&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=neiss.neiss_subset_2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;BY&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; year_;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;RUN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Or try compressing the dataset&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; A (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;COMPRESS&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = YES);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;SET&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; B;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;RUN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2016 19:55:22 GMT</pubDate>
    <dc:creator>SuryaKiran</dc:creator>
    <dc:date>2016-10-28T19:55:22Z</dc:date>
    <item>
      <title>ERROR: No disk space is available for the write operation.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/307985#M66013</link>
      <description>&lt;P&gt;This PROC SORT is producing the following error (see complete log below). I have been using this PROC successfully for several days. All of the sudden, it produces this error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using SAS University Edition w/ the Base Memory set to&amp;nbsp;5715 MB. I have over 30 GB of hard disk space. The data set has&amp;nbsp;5,220,930 observations and 32 variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any clues here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt; 55 &lt;BR /&gt; 56 &lt;BR /&gt; 57 PROC SORT DATA=neiss.neiss_subset_2;&lt;BR /&gt; 58 BY year_;&lt;BR /&gt; 59 RUN;&lt;BR /&gt; &lt;BR /&gt; ERROR: No disk space is available for the write operation. Filename = &lt;BR /&gt; /tmp/SAS_util0001000016F4_localhost.localdomain/ut16F4000005.utl.&lt;BR /&gt; ERROR: Failure while attempting to write page 545 of sorted run 3.&lt;BR /&gt; ERROR: Failure while attempting to write page 16153 to utility file 1.&lt;BR /&gt; ERROR: Failure encountered while creating initial set of sorted runs.&lt;BR /&gt; ERROR: Failure encountered during external sort.&lt;BR /&gt; ERROR: Sort execution failure.&lt;BR /&gt; NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt; NOTE: There were 5033089 observations read from the data set NEISS.NEISS_SUBSET_2.&lt;BR /&gt; WARNING: The data set NEISS.NEISS_SUBSET_2 may be incomplete. When this step was stopped there were 0 observations and 32 &lt;BR /&gt; variables.&lt;BR /&gt; WARNING: Data set NEISS.NEISS_SUBSET_2 was not replaced because this step was stopped.&lt;BR /&gt; NOTE: PROCEDURE SORT used (Total process time):&lt;BR /&gt; real time 27.24 seconds&lt;BR /&gt; cpu time 17.02 seconds&lt;BR /&gt; &lt;BR /&gt; 60 &lt;BR /&gt; 61 &lt;BR /&gt; 62 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt; 74&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 19:38:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/307985#M66013</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-10-28T19:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: No disk space is available for the write operation.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308002#M66018</link>
      <description>&lt;P&gt;Are you using SAS Studio - University Edition ?&lt;/P&gt;
&lt;P&gt;If positive than you are limitted by the VM (virtual machine) definitions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, are you sharing disk space with other users ?&lt;/P&gt;
&lt;P&gt;If positive, you might be limitted by system/SAs administarator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What SAS platform are you using ?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 19:44:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308002#M66018</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-10-28T19:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: No disk space is available for the write operation.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308006#M66020</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/88384"&gt;@Shmuel﻿&lt;/a&gt;&amp;nbsp;I'm using SAS University Edition w/ the Base Memory set to 5715 MB in the VM. This procedure worked yesterday!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 19:53:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308006#M66020</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-10-28T19:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: No disk space is available for the write operation.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308007#M66021</link>
      <description>&lt;P&gt;One solution that might work to solve this problem is to use TAGSORT. It will reduce the space needed to sort.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;SORT&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tagsort&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DATA&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=neiss.neiss_subset_2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;BY&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; year_;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;RUN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Or try compressing the dataset&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; A (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;COMPRESS&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = YES);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;SET&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; B;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;RUN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 19:55:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308007#M66021</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2016-10-28T19:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: No disk space is available for the write operation.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308016#M66024</link>
      <description>&lt;P&gt;In case&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83078"&gt;@SuryaKiran﻿&lt;/a&gt;&amp;nbsp;advice doen't help, check your WORK library, what other datasets are there.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 20:07:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308016#M66024</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-10-28T20:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: No disk space is available for the write operation.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308037#M66031</link>
      <description>&lt;P&gt;Restart your VM. I think some SAS procs are leaving things in the work space that fills it up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5 million rows should only be 1 or 2 GB so you shouldn't have major issues but it won't be snappy by any means.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I dont recall the exact specs of VM but you set the RAM and number of cores. It sounds like you've set the RAM to 5GB and I'm assuming 1 core. You can try changing it to two cores (not more) and see if that helps but I don't think it should.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 23:09:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308037#M66031</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-28T23:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: No disk space is available for the write operation.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308056#M66044</link>
      <description>&lt;PRE&gt;
Make /folders/myfolders/ as your WORK library and add TAGSORT option:

libname xx v9 '/folders/myfolders/';
options user=xx;
proc sort data=have tagsort ;
......


&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Oct 2016 04:31:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308056#M66044</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-10-29T04:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: No disk space is available for the write operation.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308573#M66237</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83078"&gt;@SuryaKiran﻿&lt;/a&gt;&amp;nbsp;tagsort worked! Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 17:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-No-disk-space-is-available-for-the-write-operation/m-p/308573#M66237</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-11-01T17:14:31Z</dc:date>
    </item>
  </channel>
</rss>

