DATA Step, Macro, Functions and more

Using SAS Enterprise Guide with my local c: sas7bdat data?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 6
Accepted Solution

Using SAS Enterprise Guide with my local c: sas7bdat data?

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?


Accepted Solutions
Solution
‎07-25-2017 05:42 PM
Super User
Posts: 19,877

Re: Using SAS Enterprise Guide with my local c: sas7bdat data?

Posted in reply to emoryustc

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


All Replies
Super User
Super User
Posts: 7,079

Re: Using SAS Enterprise Guide with my local c: sas7bdat data?

Posted in reply to emoryustc

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?

Solution
‎07-25-2017 05:42 PM
Super User
Posts: 19,877

Re: Using SAS Enterprise Guide with my local c: sas7bdat data?

Posted in reply to emoryustc

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.

Occasional Contributor
Posts: 6

Re: Using SAS Enterprise Guide with my local c: sas7bdat data?

Posted in reply to emoryustc
Yes, this works, it seems EG works with authorization
☑ This topic is solved.

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

Discussion stats
  • 3 replies
  • 111 views
  • 0 likes
  • 3 in conversation