SAS: How to Define a Variable for Path to Folder/Project

%let prj = X:\Your\Path\;
libname dat “&prj” ;
 
It’s a best practice to use this because it makes it easier for other people to edit and reuse with their own paths later.