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

Hi Team,

I hope every one is doing good.

I would like to have your help on the error message " Unable to get SAS Code. Unable to open Input data".

What would be the reason for this error and I am wondering the same EG program has been running perfectly with out any error for the last one year. But what I don't understand is why it has become an issue now since there no changes has been made.

Please let me know is it related to SAS environment problem.

Thanks in advance.

Kannan B.

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Usually this happens when a library doesn't get assigned correctly, or a table that your program expects goes missing for some reason.  The tasks that depend on the data can't do their work, because they cannot access the data.

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

View solution in original post

5 REPLIES 5
LinusH
Tourmaline | Level 20

Sounds like your project has some objects that are not available at the moment.

Can be a lot of causes - work tables that haven't been created, librefs that haven't been assigned etc.

If you can't resolve, plz describe in more detail what you are doing.

Data never sleeps
ChrisHemedinger
Community Manager

Usually this happens when a library doesn't get assigned correctly, or a table that your program expects goes missing for some reason.  The tasks that depend on the data can't do their work, because they cannot access the data.

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
msastry
Fluorite | Level 6

I had this error in SAS EG that stated "Unable to get SAS code. Input data for task is not available. Error opening data ... (error) file work.[filename] does not exist.

 

I resolved this issue by logging off EG, started EG, opened the project, ran it and it worked without issues. 

szschem
Fluorite | Level 6

I too get this error periodically, for what appears to be no rhyme or reason.  Re-running the Enterprise Guide resolves the problem.  I assume it to be a delay in network access, but have not been about to troubleshoot it to determine the exact reason. 

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 5 replies
  • 14616 views
  • 1 like
  • 6 in conversation