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?


 

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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