Help using Base SAS procedures

I/O error

Reply
Super Contributor
Posts: 259

I/O error


I'm getting the following error when I run a data step on a file: "An I/O error has occurred on file ..."

I check the space and there is no issue there.

Does anyone know what causes this and how to fix the problem?

Respected Advisor
Posts: 4,173

Re: I/O error

You need to give us more insight of what you're doing and provide much more log

Frequent Contributor
Posts: 81

Re: I/O error

These errors are also known to occur when the number of data sets that the SAS system has open exceeds the number of files that the operating system allows to be open simultaneously for the user

Also look below:

a.) www.sas.com/offices/asiapacific/sp/usergroups/snug /archive/2007/presentations/HStreitAnalyzingSASPe... - look at slide 17.

b.) http://www.listserv.uga.edu/cgi-bin/wa?A2=ind9811b&L=sas-l&P=12286

As you pointed out, this error could be due to work space being full at time of reading the file. Try using the SGIO option which will reduce the need to write to cache.

Hope this helps.

Super User
Posts: 3,250

Re: I/O error

As has already been pointed out, there are quite a few possible causes for this. Does is consistently happen to the same dataset or does it occasionally happen to any dataset? If its the second scenario an intermittent hardware problem is another possibility. Checking your computer's event log may provide additional information.

Ask a Question
Discussion stats
  • 3 replies
  • 208 views
  • 0 likes
  • 4 in conversation