I am relatively new to sas. I have a data set in one of my folders among the Explorer but I need to have it in my Library called WORK so that I can use it, the file ends with .sas7bdat How can I do that?
libname mylib "foldername";
This allows SAS to use your .sas7bdat file. Let's suppose the file name is GEORGE, you would use this file in SAS by referring to it as MYLIB.GEORGE
You can drag it into the work folder if you want, or you can use PROC COPY
proc copy in=mylib out=work nolist; select george; run; quit;
View solution in original post
How do you use SAS?
Fully local (everything installed and licensed on your PC), client/server within your organization, or SAS On Demand for Academics?
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!
Submit your idea!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.