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.


Difference between revisions of "Tips:Removing a library reference using the libname function"

From sasCommunity
Jump to: navigation, search
(add wikilinks)
m (gardening)
 
Line 8: Line 8:
  
 
There are many other ways to remove library reference and numerous solutions have been proposed on [[SAS-L]].
 
There are many other ways to remove library reference and numerous solutions have been proposed on [[SAS-L]].
 
{{SubmittedBy|Goladin|Murphy Choy}}
 
  
  
Line 15: Line 13:
  
 
[http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0909a&L=sas-l&F=&S=&P=23391 Paul Dorfman's solutions]
 
[http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0909a&L=sas-l&F=&S=&P=23391 Paul Dorfman's solutions]
 +
 +
{{SubmittedBy|Goladin|Murphy Choy}}
  
 
<noinclude>
 
<noinclude>

Latest revision as of 15:05, 16 October 2017

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.