BookmarkSubscribeRSS Feed
noetsi
Obsidian | Level 7

I have run into exactly the same issue as the original post. And it can't be an issue of it not being a sas data set. I built the data set it is referring to in sas (it refers to a work file). Code that referenced a library that worked last night is generating this error. 

 

ERROR: File DORA2.COUNSELOR.DATA is not a SAS data set.

 

I can see past results in this data base. It just won't let me build new tables. I even built a new libname and it won't let me use that.

SASKiwi
PROC Star

Please don't add a new problem to an existing post. You can always add a link to existing post from your new one.

 

Also when you are posting error messages, also include the SAS statements generating them, otherwise we are just guessing what you are doing to cause the error.

 

One possible cause for the corruption of a SAS dataset is lack of disk space to completely create it. Another possibility is faulty disk storage.

Ksharp
Super User

Try to repair this dataset.

 

 

proc datasets library=data;
repair have;
quit;

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 17 replies
  • 12095 views
  • 0 likes
  • 7 in conversation