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 🙂
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.