SAS Studio

Write and run SAS programs in your web browser
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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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