Help using Base SAS procedures

I/O error

Super Contributor
Posts: 261

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,736

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.) /archive/2007/presentations/HStreitAnalyzingSASPe... - look at slide 17.


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,918

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
  • 4 in conversation