<?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: Insufficient space in file. is damaged. I/O processing did not complete. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188449#M35628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the moment just for background knowledge.&lt;/P&gt;&lt;P&gt;- When the condition is just deleting some records marked by a condition and not adding new variables.&lt;/P&gt;&lt;P&gt;- Additional storage resources are not easy to get. (really big data)&lt;/P&gt;&lt;P&gt;- You have backup/restore and checkpoint restart processes reviewed on needed and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do an update in place.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n0g9jfr4x5hgsfn17gtma5547lt1.htm" title="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n0g9jfr4x5hgsfn17gtma5547lt1.htm"&gt;SAS(R) 9.4 Statements: Reference, Third Edition&lt;/A&gt; (modify statement), &lt;A href="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n1gx8o8pxm8pgdn1q68cmf5jnorw.htm" title="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n1gx8o8pxm8pgdn1q68cmf5jnorw.htm"&gt;SAS(R) 9.4 Statements: Reference, Third Edition&lt;/A&gt; (remove statement). &lt;/P&gt;&lt;P&gt;This is the same approach a RDBMS would do in an OLTP approach. Marking records as being deleted, not replacing all datablocks. This is what SQL was designed for.&amp;nbsp; &lt;/P&gt;&lt;P&gt;If that is what you think is needed as "SQL" you can code in that way. The common SQL usage by analists is not done like that but based on copying complete tables.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2014 08:01:49 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-10-20T08:01:49Z</dc:date>
    <item>
      <title>ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188437#M35616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc sort data=table1 out=_a nodupkey; by acctnbr; run;&lt;BR /&gt;proc sort data=table2 (keep=acctnbr r&amp;amp;questpin r&amp;amp;questmatch) out=_b nodupkey; by acctnbr; run;&lt;BR /&gt;data table3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; merge _a(in=in_a)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _b(in=in_b);&lt;BR /&gt;by acctnbr;&lt;BR /&gt;if in_a;&lt;BR /&gt;if in_b then quest='Y'; else quest='N';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The above two datasets are huge,they have over 100MM records. and I get the above error message. This is run on Unix. Is there any turn around to fix the issue&amp;gt;?&lt;/P&gt;&lt;P&gt;2. How can this be done in SQL, to avoid sorting and merging,&lt;/P&gt;&lt;P&gt;Help is appreciated,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 05:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188437#M35616</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2014-10-17T05:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188438#M35617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you think that SQL would accomplish this task? It can't ask $DEITY for the result, so it resorts to more or less the same technique (sorting and merging), but very often less efficient than most code that you write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem is not enough disk space (or user quota) in the location of your work directory.&lt;/P&gt;&lt;P&gt;Do you run out of space during sorting or during the merge?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 05:45:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188438#M35617</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-10-17T05:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188439#M35618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;There are several ways to merge the data sets without sorting one or both the data sets. The size (100 M) seems to be large. Give some example data sets and the desired WANT data set&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then suitable method(s) can be shown.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 06:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188439#M35618</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2014-10-17T06:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188440#M35619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SQL will is as fast in generating this kind of errors, may be even faster as it not tuned to be using resources carefully. Going to an external DBMS you are also getting similar ones. Often there is a limit, very low one, on size of temporary tables as of preventing users to use too much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well you are running out of resources. There are two options to solve that.&lt;/P&gt;&lt;P&gt;- program your code in a smarter way to avoid that usage&lt;/P&gt;&lt;P&gt;- Add additional resources.&lt;/P&gt;&lt;P&gt;By the way 100M records is telling nothing it could be that small as just 1 or 2 Gbyte. A better measure aside the number of records is the total size in bytes /&amp;nbsp; the size of each record.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 06:46:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188440#M35619</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-17T06:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188441#M35620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I want all the columns from table1 and the columns from table2 (shown in keep options).&lt;/P&gt;&lt;P&gt;The only help needed is how to translate this datastep if conditions to sql.&lt;/P&gt;&lt;P&gt;if in_a;&lt;/P&gt;&lt;P&gt;if in_b then tag_found_quest='Y'; else tag_found_quest='N';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 11:05:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188441#M35620</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2014-10-17T11:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188442#M35621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would have to look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table table3 as&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;&amp;nbsp; a.*,&lt;/P&gt;&lt;P&gt;&amp;nbsp; b.r&amp;amp;questpin,&lt;/P&gt;&lt;P&gt;&amp;nbsp; b.r&amp;amp;questmatch,&lt;/P&gt;&lt;P&gt;&amp;nbsp; case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; when b.acctnbr is missing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; then 'N'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else 'Y'&lt;/P&gt;&lt;P&gt;&amp;nbsp; end as tag_found_quest&lt;/P&gt;&lt;P&gt;from table1 a&lt;/P&gt;&lt;P&gt;left join table2 b&lt;/P&gt;&lt;P&gt;on a.acctnbr = b.acctnbr&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But be aware that, for this to work, you need enough space to hold&lt;/P&gt;&lt;P&gt;- table1&lt;/P&gt;&lt;P&gt;- table2&lt;/P&gt;&lt;P&gt;- sizeof (table1+table2) (roughly) for the SQL utility file&lt;/P&gt;&lt;P&gt;- table3&lt;/P&gt;&lt;P&gt;in your work location, which will most probably lead to another disk full condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 11:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188442#M35621</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-10-17T11:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188443#M35622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can alleviate the disk space condition by using another storage device and separating the data sets from the utility files by either placing the input/output data sets in permanent storage (define and specify a library) instead of WORK and/or specifying a separate location for the utility files using the -utilloc option (this presumes that the multi-threaded SAS sort is being invoked by SORT and SQL - you can check by setting the MSGLEVEL to i (e.g., options msglevel=i;).&amp;nbsp; Either strategy will likely help performance as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188443#M35622</guid>
      <dc:creator>scmebu</dc:creator>
      <dc:date>2014-10-17T13:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188444#M35623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have SQL head. Do you accept a data step solution which require no sorting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188444#M35623</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2014-10-17T13:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188445#M35624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe also try piecemeal'ing your data, i.e. reduce the data you are working on to only one site or account block at a time and do lots of smaller parts.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188445#M35624</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-10-17T13:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188446#M35625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If disk space for WORK is the issue then you could use one or several of below approaches:&lt;/P&gt;&lt;P&gt;- Before the sorting delete all tables in WORK which are no more required&lt;/P&gt;&lt;P&gt;- Don't create a new table but replace the existing table with a sorted version "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc sort data=table1 out=&lt;STRONG style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;table1&lt;/STRONG&gt; nodupkey; by acctnbr; run"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;- In case&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;table2 with the required variables (keep=acctnbr r&amp;amp;questpin r&amp;amp;questmatch) fits into memory: Don't sort your tables at all but load table 2 into a hash and then use a hash look-up instead of a merge.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;- Write the sorted tables (out=) and table3 to a permanent data set using a libref which points to a file system with sufficient space.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;- Make sure that UTILLOC points to another disk than WORK&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use code as below. That would avoid creating additional tables in work. You would still need sufficient space in UTILLOC during sorting.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc sort data=table1 nodupkey; by acctnbr; run;&lt;BR /&gt;proc sort data=table2 (keep=acctnbr r&amp;amp;questpin r&amp;amp;questmatch) nodupkey; by acctnbr; run;&lt;BR /&gt;data table1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; merge table1(in=in_a)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table2(in=in_b);&lt;BR /&gt;by acctnbr;&lt;BR /&gt;if in_a;&lt;BR /&gt;if in_b then quest='Y'; else quest='N';&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 14:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188446#M35625</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-10-17T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188447#M35626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Except that the OP's is focused in believing SQL is solving his big data issue, we did not get any additional information on sizing release the logical question behind that join. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 15:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188447#M35626</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-17T15:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188448#M35627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data table1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; merge table1(in=in_a)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table2(in=in_b);&lt;BR /&gt;by acctnbr;&lt;BR /&gt;if in_a;&lt;BR /&gt;if in_b then quest='Y'; else quest='N';&lt;BR /&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; background-color: #ffffff;"&gt;This will not prevent the file full condition, since table1.sas7bdat and table1.sas7bdat.lck will exist concurrently until the data step finishes execution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 07:06:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188448#M35627</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-10-20T07:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file. is damaged. I/O processing did not complete.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188449#M35628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the moment just for background knowledge.&lt;/P&gt;&lt;P&gt;- When the condition is just deleting some records marked by a condition and not adding new variables.&lt;/P&gt;&lt;P&gt;- Additional storage resources are not easy to get. (really big data)&lt;/P&gt;&lt;P&gt;- You have backup/restore and checkpoint restart processes reviewed on needed and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do an update in place.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n0g9jfr4x5hgsfn17gtma5547lt1.htm" title="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n0g9jfr4x5hgsfn17gtma5547lt1.htm"&gt;SAS(R) 9.4 Statements: Reference, Third Edition&lt;/A&gt; (modify statement), &lt;A href="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n1gx8o8pxm8pgdn1q68cmf5jnorw.htm" title="http://support.sas.com/documentation/cdl/en/lestmtsref/67407/HTML/default/viewer.htm#n1gx8o8pxm8pgdn1q68cmf5jnorw.htm"&gt;SAS(R) 9.4 Statements: Reference, Third Edition&lt;/A&gt; (remove statement). &lt;/P&gt;&lt;P&gt;This is the same approach a RDBMS would do in an OLTP approach. Marking records as being deleted, not replacing all datablocks. This is what SQL was designed for.&amp;nbsp; &lt;/P&gt;&lt;P&gt;If that is what you think is needed as "SQL" you can code in that way. The common SQL usage by analists is not done like that but based on copying complete tables.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 08:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Insufficient-space-in-file-is-damaged-I-O-processing-did/m-p/188449#M35628</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-20T08:01:49Z</dc:date>
    </item>
  </channel>
</rss>

