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 🙂
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.