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.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Register now!
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.