<?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: I/O Processing did not complete error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317391#M69487</link>
    <description>&lt;P&gt;can you &lt;U&gt;run SAS session&lt;/U&gt; with system &lt;STRONG&gt;option memsize=0&lt;/STRONG&gt; ?&lt;/P&gt;
&lt;P&gt;If yes - that will use maximum memsize the instalation enables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't use this option in an open session, but only when you launch SAS.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 17:09:14 GMT</pubDate>
    <dc:creator>Shmuel</dc:creator>
    <dc:date>2016-12-07T17:09:14Z</dc:date>
    <item>
      <title>I/O Processing did not complete error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317373#M69481</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quick thing , when i execute following sas code in SAS 9.3 Windows, it gives the error, please advise for possible solution, thanks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ERROR:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;NOTE: A utility file had to be opened due to a lack of memory. &lt;BR /&gt; PROC TRANSPOSE might run much faster if 97511007600 more bytes of memory were available.&lt;BR /&gt;ERROR: File DD.TEMP6.DATA is damaged. I/O processing did not complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SAS CODE:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;data dd.temp5;&lt;BR /&gt;set dd.temp4;&lt;BR /&gt;obs=compress('var_'||_n_);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc transpose data=dd.temp5 out=dd.temp6 prefix=var;&lt;BR /&gt;var &amp;amp;varlist;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data dd.temp7;&lt;BR /&gt;set dd.temp6;&lt;BR /&gt;array vars[*] $ _all_;&lt;BR /&gt;do i=1 to dim(vars);&lt;BR /&gt;len=lengthn(vars[i]);&lt;BR /&gt;newval=compress(vars[i],".",'d');&lt;BR /&gt;len2=lengthn(newval);&lt;BR /&gt;if len2=0 then N_FLAG=1; ELSE N_FLAG=0;&lt;BR /&gt;end;&lt;BR /&gt;drop i;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc transpose data=dd.temp7 out=dd.temp8;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 16:34:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317373#M69481</guid>
      <dc:creator>dkanand86</dc:creator>
      <dc:date>2016-12-07T16:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: I/O Processing did not complete error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317391#M69487</link>
      <description>&lt;P&gt;can you &lt;U&gt;run SAS session&lt;/U&gt; with system &lt;STRONG&gt;option memsize=0&lt;/STRONG&gt; ?&lt;/P&gt;
&lt;P&gt;If yes - that will use maximum memsize the instalation enables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't use this option in an open session, but only when you launch SAS.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:09:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317391#M69487</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-12-07T17:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: I/O Processing did not complete error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317408#M69492</link>
      <description>&lt;P&gt;Since you have multiple proc transpose statements it would help to post the log results for the entire program. It would also help to show the value of any macro variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be a good idea to describe what this process is meant to accomplish as well.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317408#M69492</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-07T18:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: I/O Processing did not complete error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317437#M69506</link>
      <description>&lt;P&gt;You appear to be looking for character values which cannot be converted to numerics.&amp;nbsp;You do this test over all vars in &lt;EM&gt;&lt;STRONG&gt;each row of the transposed data&lt;/STRONG&gt;&lt;/EM&gt;, setting NFLAG=1 if a convertable value occurs (else nflag=0).&amp;nbsp; But the problem (well one of the problems) is that you do this in sequence for ALL the variables, resetting NFLAG each time.&amp;nbsp;&amp;nbsp;So NFLAG really only reflects the status of the last variable in each row,&amp;nbsp; (i.e. the last row of the original untransposed data set).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then you transpose back, which by default transposes only the numeric vars (LEN, LEN2 and NFLAG), yielding pretty useless information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I guess what you really want is to check each column of the original data set, to see if there are any non-convertable values.&amp;nbsp; Consider this structure with &lt;STRIKE&gt;improved&lt;/STRIKE&gt; improvised dataset HAVE.&amp;nbsp; It will (1) report to the log any vars with any non-convertable values, and (2) generate dataset BADCOUNTS with one row containing number of non-convertable values for each of the original variables:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename tmp temp;  /* Type is TEMP so it will automatically be deleted */

data _null_;
  set have end=eod;
  array chr {*} _character_;
  array nbad {100}  _temporary_ (100*0);
  do I=1 to dim(chr);
    nbad{I}=nbad{I} + NOT(compress(chr{I},'.','d')=' ');
  end;

  if eod then do;
    file log;
    put 'These vars have at least one instance that cant be converted to numeric:';
    do I=1 to dim(chr);
      chr{I}=put(nbad{I},3.);
      if nbad{I}&amp;gt;0 then put chr{I}=;
    end;
    file tmp;   /* Write the next PUT to this destination */
    put (chr{*}) (= ';')  ';';
  end;
run;

options source2;  /* to print out code retrieved via the %include below */

data badcounts;
  %include tmp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 21:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-O-Processing-did-not-complete-error/m-p/317437#M69506</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2016-12-07T21:14:02Z</dc:date>
    </item>
  </channel>
</rss>

