Tips:Removing a library reference using the libname function
In SAS, the libname statement is a very powerful one that can be used to generate a library reference for permanent SAS datasets. However, if you use the libname function with the libref as the only argument, it removes the library reference.
libname new 'c:\temp\'; %sysfunc(libname(new));
There are many other ways to remove library reference and numerous solutions have been proposed on SAS-L.
Submitted by Murphy Choy. Contact me at my Discussion Page.