HI Team,
- I want to connect to connect to a New Library with in SAS, However we have many datasets in that Library and I do not want to pull all
of them rather I want to pull only one data set / Specific 2,3 datasets.- How can I do this through Libname staement. Please suggest.
Please try the proc copy procedure as below
libname existing '~path'; libname new '~path'; proc copy in=existing out=new memtype=data; select dataset1 dataset2 dataset3; run;
@Hari2
A libname only establishes the connection to the folder and creates a directory listing. No data gets moved by the libname and for this reason the number of tables in the folder will not cause issues nor impact on performance.
April 27 - 30 | GAYLORD TEXAN
Register now to lock in early bird pricing through February 25!
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.