This is the first step which would be used throughout all the project later:
(a) Create a macro variable using a %LET statement called ‘directory'where you can type the name of the directory that contains all the files of interest for this project.
(b) Create a temporary library called ‘datapath’ that links to this directory in part (a)
my code:
%let directory = C:\users\downloads;
%LET directory = 'C:\users\Downloads';
Libname datapath &directory.;
run;