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;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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