Hi,
So the PUT can print a data variable and its value to the log and the %PUT can do the same for Macro variables. Is there a way to do this for libname vars?
For example, if I have a libname defined as the following:
libname x "%SYSGET(dir)";
If the above code is written as:
%let x = %sysget(dir);
I can get the value of x by using %PUT x; What can I do if %LET is replaced with LIBNAME? I know in a SAS log, it'll print out the definition of a libname defined in the program. I guess my question is, if you can print a Macro variable or a SAS data step variable, can you do something similar for a libname var?
Thanks