BookmarkSubscribeRSS Feed
Calcite | Level 5


I have big data on an shared drive on the server. 15GB dataset.

When I am running it I am receiving following:


Disk Full:

Out of Resources.

R Retry,

N. Tell procedure/DATA step no more resources.

C. Cancel Submitted Statements.

T.Terminate SAS.



ERROR: Insufficient space in file WORK....

ERROR : Failure while merging sorted runs from utility file 1 to final output.

ERROR: Failure encountered during external sort.

ERROR: File WORK.ALL_EDATUM.DATA is damaged. I/O processing did not complete.


The shared network disk has 12 GB left available.

Is this why I receive the errors? Should I increase the size maybe?

Why does this happend though? I mean does it use x amount of space when I run the datacode?

Super User

You get that error in your WORK location, so you need to check there.

For further help, please post the log of the failing step, using the {i} button.

Rhodochrosite | Level 12

You probably need to look at some coding efficiency activities.  For instance, using TAGSORT takes lot less disk space than a regular sort.  You may also want to explicitly delete work files and, when possible, use the KEEP option so the procedures minimize the data they have to carry.



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 3 in conversation