SAS Programming

DATA Step, Macro, Functions and more
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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