<?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: data step Error says file is corrupt. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/253613#M48293</link>
    <description>&lt;P&gt;When you are back at work, it would be great if you deliver the complete message/log.&lt;/P&gt;
&lt;P&gt;If the file system is full, SAS might clean up after the error, so if you do a du later it will probably not show the relevant disk availability.&lt;/P&gt;
&lt;P&gt;So monitor as the job runs, and add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options fullstimer;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to ou program, and it will tell you more about resource consumption in each step.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2016 22:11:12 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-03-01T22:11:12Z</dc:date>
    <item>
      <title>data step Error says file is corrupt.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/253609#M48292</link>
      <description>&lt;P&gt;(updated)&lt;/P&gt;
&lt;P&gt;My Base SAS program gives an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;MPRINT(ADD_WGT_BREAKS):   data disc_info(drop = wgtbrk_flg compress=yes);
MPRINT(ADD_WGT_BREAKS):   merge disc_info(in=ok1) single_wgt_breaks(in=ok2);
MPRINT(ADD_WGT_BREAKS):   by prod_type disc_id dstcrgn kyprdtyp begwgt endwgt;

ERROR: An I/O error has occurred on file WORK.DISC_INFO.DATA.
ERROR: File WORK.DISC_INFO.DATA is damaged. I/O processing did not complete.
NOTE: The SAS System stopped processing this step because of errors.
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It gives this repeatidly and in different programs. Our company recently mandidated that our tmp directory&lt;/P&gt;
&lt;P&gt;change from&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname sastmp /usr/local/sas/tmp&lt;/P&gt;
&lt;P&gt;to now be&lt;/P&gt;
&lt;P&gt;libname sastmp /var/ourcompany/SAS/WORK/tmp/9.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am worried that this "new error" is from a tmp file being too large and not fitting in tmp area??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did du -f and the drive isn't full, but perhaps the tmp file is gi-normous?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I crazy? What tests should I run?&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;
&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/253609#M48292</guid>
      <dc:creator>cellurl</dc:creator>
      <dc:date>2016-03-02T15:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: data step Error says file is corrupt.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/253613#M48293</link>
      <description>&lt;P&gt;When you are back at work, it would be great if you deliver the complete message/log.&lt;/P&gt;
&lt;P&gt;If the file system is full, SAS might clean up after the error, so if you do a du later it will probably not show the relevant disk availability.&lt;/P&gt;
&lt;P&gt;So monitor as the job runs, and add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options fullstimer;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to ou program, and it will tell you more about resource consumption in each step.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 22:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/253613#M48293</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-01T22:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: data step Error says file is corrupt.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/253634#M48296</link>
      <description />
      <pubDate>Fri, 04 Mar 2016 16:13:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/253634#M48296</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-03-04T16:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: data step Error says file is corrupt.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/254473#M48539</link>
      <description>I was mixing work directories and tmp directories. Thanks for the tips! I will mark this closed.</description>
      <pubDate>Fri, 04 Mar 2016 15:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/254473#M48539</guid>
      <dc:creator>cellurl</dc:creator>
      <dc:date>2016-03-04T15:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: data step Error says file is corrupt.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/257091#M49323</link>
      <description>&lt;P&gt;the disk was full.&amp;nbsp; I had cked it, but I had to ck it every second during execution using "df".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 18:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-step-Error-says-file-is-corrupt/m-p/257091#M49323</guid>
      <dc:creator>cellurl</dc:creator>
      <dc:date>2016-03-16T18:17:37Z</dc:date>
    </item>
  </channel>
</rss>

