BookmarkSubscribeRSS Feed
Doc
Calcite | Level 5 Doc
Calcite | Level 5
A colleague emailed me a SAS dataset which I copied to my desktop. I double click it and it opens just fine in SAS Enterprise. I can see all the variable names and the actual data.

But when I ask for the dataset to be opened in SAS 9.1 it says:

ERROR: Unable to open the table TMP1.exer. TMP1.exer cannot be opened. Do you want to select a different table to open.


I am confused. Because I do not understand enough. I would like to be able to read the dataset into SAS 9.1. Any ideas?
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
Open the dataset again in EGuide. Select Properties and see how the dataset was created and give you an indication of your next step.

For instance, if you have multiple SAS datasets on your desktop and they were created with different engines, then you need different libnames for each engine type.

(Note that even if the files have the same extension, they may have been created with different engines.)
deleted_user
Not applicable
Hi Doc,

you have given the error pop-up when you tried to open the table.

can you please post the error showing in log window.

This problem occurs when BASE SAS not able to identify the formats assigned to the variables where SAS EG can do that.

I faced this problem before. we have reassigned the format for that particular variable and then we used that table in BASE SAS.

This is one possible reason for that ERROR

Hope this will help you

Regards,
skm
Peter_C
Rhodochrosite | Level 12
Doc

is it possible the data set was read in E.G. from an excel file with special characters in a column name?
It seems by default E.G. applies system option [pre] validVarName= ANY [/pre] but a non-E.G. session uses V7 instead of ANY.
If you set your defaults (in so many ways) to ValidVarName=ANY, you may overcome the problem.

good luck

PeterC

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 2197 views
  • 0 likes
  • 4 in conversation