As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tips:Removing a library reference using the libname function

From sasCommunity
Jump to: navigation, search

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.


SAS Documentation

Paul Dorfman's solutions

Submitted by Murphy Choy. Contact me at my Discussion Page.