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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 45824 views
  • 1 like
  • 2 in conversation