Hi, I got a supplement data and I know I can upload it into sas file.
Now I want to modify the data but I don't know how to use it because normally the data set would be stored in library.
Can anyone give me an example code?
Thank you
Assigning a libref to the directory in which the file is stored should solve the issue.
Suppose you have a file
xx.sas7bdat
in directory
/level1/level2/level3
then you would do
libname mylib '/level1/level2/level3';
proc print data=mylib.xx;
run;
to run a simple procedure against this dataset.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.