BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
dincooo
Obsidian | Level 7

Hi experts,

 

There is a big inner join which takes approximately 20 minutes before. But today we are getting an error like this

 

(saswork space is 2 TB)

 

NOTE: There were 34434671 observations read from the data set  <table_name>

ERROR: An I/O error has occurred on file <table_name>

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

ERROR: Failure encountered during external sort.

ERROR: File  <table_name> is damaged. I/O processing did not complete.

NOTE: The SAS System stopped processing this step because of errors.

NOTE: SAS set option OBS=0 and will continue to check statements. This might cause NOTE: No observations in data set.

 

 

Many thanks,

Best Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

You're running out of space in the target library. Aside from a simple overall-out-of-space condition, you could also have an overrun of your individual quota.

Note: if everything is located in WORK, you need at least three times the size of the source table (source table, utility file, target table). If your table is stored with compress=yes, the utility file will be considerably larger than the source table, as it is not compressed. The tagsort option can be helpful in such cases.

View solution in original post

1 REPLY 1
Kurt_Bremser
Super User

You're running out of space in the target library. Aside from a simple overall-out-of-space condition, you could also have an overrun of your individual quota.

Note: if everything is located in WORK, you need at least three times the size of the source table (source table, utility file, target table). If your table is stored with compress=yes, the utility file will be considerably larger than the source table, as it is not compressed. The tagsort option can be helpful in such cases.

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 49295 views
  • 1 like
  • 2 in conversation