BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
fatemeh
Quartz | Level 8

Hello all,

Any help is appreciated to find the answer to my question:

How sas can read sas dataset that is saved in a folder in sas studio, for example mydata.sas.  I uploaded a sas dataset that was saved on my desktop as sas dataset with the name mydata , then when i upload that in to sas studio, it was saved as mydata.sas , so how to read it and work on it?

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

.sas files are programs not data set. 

 

If it creates a file via a data step then you use %include to run the .sas file.

 

%include 'path to .sas';

@fatemeh wrote:

Hello all,

Any help is appreciated to find the answer to my question:

How sas can read sas dataset that is saved in a folder in sas studio, for example mydata.sas.  I uploaded a sas dataset that was saved on my desktop as sas dataset with the name mydata , then when i upload that in to sas studio, it was saved as mydata.sas , so how to read it and work on it?


 

View solution in original post

1 REPLY 1
Reeza
Super User

.sas files are programs not data set. 

 

If it creates a file via a data step then you use %include to run the .sas file.

 

%include 'path to .sas';

@fatemeh wrote:

Hello all,

Any help is appreciated to find the answer to my question:

How sas can read sas dataset that is saved in a folder in sas studio, for example mydata.sas.  I uploaded a sas dataset that was saved on my desktop as sas dataset with the name mydata , then when i upload that in to sas studio, it was saved as mydata.sas , so how to read it and work on it?


 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1 reply
  • 760 views
  • 1 like
  • 2 in conversation