<?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 Error: An I/O error has occurred on file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41154#M8420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Also include what OS you are on, size of the dataset, does it have an index etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 19:32:52 GMT</pubDate>
    <dc:creator>twocanbazza</dc:creator>
    <dc:date>2012-01-30T19:32:52Z</dc:date>
    <item>
      <title>Error: An I/O error has occurred on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41152#M8418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to read a sas dataset, I am getting an weird error "Error: An I/O error has occurred on file". This is a recent problem I'm facing and doesn't occur always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I started investigating I found the following link &lt;A href="http://support.sas.com/kb/12/135.html"&gt;http://support.sas.com/kb/12/135.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the link this error appears while the drive which contain sas temporary/work datasets have low disk space. But my E: drive (which contain SAS temporary files) have more than 1 TB space !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, now I am confused. Could anybody please help me through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your efforts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Saugata Mukherjee.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 10:10:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41152#M8418</guid>
      <dc:creator>Saugata</dc:creator>
      <dc:date>2012-01-30T10:10:14Z</dc:date>
    </item>
    <item>
      <title>Error: An I/O error has occurred on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41153#M8419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be helpful if you could post the code that is generating the problem along with the error itself. This error can be caused by a variety of issues of which the low disk space is just one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example disk hardware problems can cause this. Also be aware that some SAS processes, for example PROC SORT, use at least double the space of the SAS dataset being sorted to complete a sort. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 19:23:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41153#M8419</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2012-01-30T19:23:51Z</dc:date>
    </item>
    <item>
      <title>Error: An I/O error has occurred on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41154#M8420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Also include what OS you are on, size of the dataset, does it have an index etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 19:32:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41154#M8420</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2012-01-30T19:32:52Z</dc:date>
    </item>
    <item>
      <title>Error: An I/O error has occurred on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41155#M8421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking interest in solving the problem. Please find below the details you have asked for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code and error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;131&amp;nbsp; data temp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;132&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set database.pvweek_1_12;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;133&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where view_date='01sep2011'd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;134&amp;nbsp; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: An I/O error has occurred on file DATABASE.PVWEEK_1_12.DATA.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: The data step has been abnormally terminated.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: The data set WORK.TEMP may be incomplete.&amp;nbsp; When this step was stopped there were 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 8 variables.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: Data set WORK.TEMP was not replaced because this step was stopped.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: DATA statement used (Total process time):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.43 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.40 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see it is just a reading a file. And the weirdest thing is not always we are getting this problem. Just now i have executed the same code and got desired result!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;159&amp;nbsp; data temp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;160&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set database.pvweek_1_12;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;161&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where view_date='01dec2011'd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;162&amp;nbsp; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: There were 308593 observations read from the data set DATABASE.PVWEEK_1_12.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE view_date='01DEC2011'D;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE: The data set WORK.TEMP has 308593 observations and 8 variables.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE: DATA statement used (Total process time):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.62 seconds&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.79 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really baffled now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other information you have asked for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The size of the dataset: 650 Mb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not using Index in this file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Os: Microsoft windows server 2003, Enterprise edition, Service pack 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Free Disk space on the driver 1.2 TB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 09:29:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41155#M8421</guid>
      <dc:creator>Saugata</dc:creator>
      <dc:date>2012-01-31T09:29:29Z</dc:date>
    </item>
    <item>
      <title>Error: An I/O error has occurred on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41156#M8422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking interest in solving the problem. Please find below the details you have asked for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code and error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;131&amp;nbsp; data temp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;132&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set database.pvweek_1_12;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;133&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where view_date='01sep2011'd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;134&amp;nbsp; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: An I/O error has occurred on file DATABASE.PVWEEK_1_12.DATA.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: The data step has been abnormally terminated.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: The data set WORK.TEMP may be incomplete.&amp;nbsp; When this step was stopped there were 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 8 variables.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: Data set WORK.TEMP was not replaced because this step was stopped.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: DATA statement used (Total process time):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.43 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.40 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see it is just a reading a file. And the weirdest thing is not always we are getting this problem just now i have executed the same code and got desired result!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;159&amp;nbsp; data temp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;160&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set database.pvweek_1_12;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;161&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where view_date='01dec2011'd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;162&amp;nbsp; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: There were 308593 observations read from the data set DATABASE.PVWEEK_1_12.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE view_date='01DEC2011'D;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE: The data set WORK.TEMP has 308593 observations and 8 variables.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE: DATA statement used (Total process time):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.62 seconds&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.79 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really baffled now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other information you have asked for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The size of the dataset: 650 Mb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not using Index in this file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Os: Microsoft windows server 2003, Enterprise edition, Service pack 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Free Disk space on the driver 1.2 TB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 09:30:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41156#M8422</guid>
      <dc:creator>Saugata</dc:creator>
      <dc:date>2012-01-31T09:30:23Z</dc:date>
    </item>
    <item>
      <title>Error: An I/O error has occurred on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41157#M8423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a thought - have you checked into the possibility that the error message needs to be taken literally? i.e. Is there a problem with the disk itself? I would have thought drive problems would result in error messages from Windows itself, but one never knows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 13:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41157#M8423</guid>
      <dc:creator>DouglasMartin</dc:creator>
      <dc:date>2012-01-31T13:15:49Z</dc:date>
    </item>
    <item>
      <title>Error: An I/O error has occurred on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41158#M8424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have run into similar problems trying to analyze data of that size, on a Windows 2003 server, when the file was on a different machine than the one on which SAS was located.&amp;nbsp; I found that the only way we could totally avoid such errors was to first copy the file onto the same server that was running SAS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 13:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41158#M8424</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-01-31T13:53:25Z</dc:date>
    </item>
    <item>
      <title>Error: An I/O error has occurred on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41159#M8425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is the DATABASE SAS library located? Is it on a locally attached drive on the server? Also I suggest you check out the Windows Event Log which you can access from the Windows Control Panel. Are there any errors being recorded about the time you got your I/O error? If there are then it is possible your server has an intermittent hardware fault. You will need to involve your IT server support people to investigate server faults further.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 19:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-An-I-O-error-has-occurred-on-file/m-p/41159#M8425</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2012-01-31T19:42:17Z</dc:date>
    </item>
  </channel>
</rss>

