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

HI, anybody can help? i download a test.sas7bdat file online, and saved it to my c: mydata folder, but when i use the code :

data want;
set 'c: \mydata\test.sas7bdat';


i got error message:

the value 'c: \mydata\test'n is not a valid sas member name. where is the problem?

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

SAS EG usually works on a server so you need to upload your data to the server. This would require you to upload the file, you can look at Copy Task to move data to the server, it's a custom task.

View solution in original post

3 REPLIES 3
Tom
Super User Tom
Super User

Do you really have a space between the C: and the \ ?

Is SAS actually running on your PC or is your copy of Enterprise Guide connecting to SAS that is running on some other server?

Reeza
Super User

SAS EG usually works on a server so you need to upload your data to the server. This would require you to upload the file, you can look at Copy Task to move data to the server, it's a custom task.

emoryustc
Calcite | Level 5
Yes, this works, it seems EG works with authorization

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
  • 3 replies
  • 1567 views
  • 0 likes
  • 3 in conversation