BookmarkSubscribeRSS Feed
brophymj
Quartz | Level 8


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?

3 REPLIES 3
Patrick
Opal | Level 21

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

damanaulakh88
Obsidian | Level 7

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.

SASKiwi
PROC Star

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1518 views
  • 0 likes
  • 4 in conversation