Desktop productivity for business analysts and programmers

Help on Error Message " Unable to get SAS Code. Unable to open input data"

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 19
Accepted Solution

Help on Error Message " Unable to get SAS Code. Unable to open input data"

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.


Accepted Solutions
Solution
‎01-12-2018 08:46 AM
Community Manager
Posts: 3,344

Re: Help on Error Message " Unable to get SAS Code. Unable to open input data"

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

View solution in original post


All Replies
Super User
Posts: 5,824

Re: Help on Error Message " Unable to get SAS Code. Unable to open input data"

Posted in reply to KannanBaskar

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
Solution
‎01-12-2018 08:46 AM
Community Manager
Posts: 3,344

Re: Help on Error Message " Unable to get SAS Code. Unable to open input data"

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

Trusted Advisor
Posts: 1,270

Re: Help on Error Message " Unable to get SAS Code. Unable to open input data"

Posted in reply to KannanBaskar

Hi,

In additon to above comments this may be helpful in fixing the problem.

Regards,

Naeem

39388 - An error occurs in SAS® Enterprise Guide® 4.1 and 4.2 when you use DBMS data sets that are s...

Occasional Learner
Posts: 1

Re: Help on Error Message " Unable to get SAS Code. Unable to open input data"

Posted in reply to KannanBaskar

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. 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 3431 views
  • 1 like
  • 5 in conversation