Hi, I am new to sas base programming. I am using SAS studio to study. I have been trying to use the external data files but first assign this as permanent so that I can use the data using SET statement. I know how to assign a permanent library but not while using SET statement. Could anyone please help me with it?
Are you using SAS UE?
Set up a library as:
libname mylib 'path to folder with sas datasets';
data want;
set MYLIB.MYDATA;
run;
Yeah I am. I tried that but it says the data is not present. What I did is I uploaded the external file directly to the folder that is defined in the libname. and did the same step as you have suggested.
Thanks 🙂
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.