Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mm_deletelibrary.sas File Reference

Deletes a library by Name. More...

Go to the source code of this file.

Detailed Description

Used to delete a library. Usage:

%* create a library in the home directory ;
%mm_createlibrary(
  libname=My Temp Library,
  libref=XXTEMPXX,
  tree=/User Folders/&sysuserid,
  directory=%sysfunc(pathname(work))
)

%* delete the library ;
%mm_deletelibrary(name=My Temp Library)

After running the above, the following will be shown in the log:

Parameters
[in]name=the name (not libref) of the library to be deleted

SAS Macros

Version
9.4
Author
Allan Bowe

Definition in file mm_deletelibrary.sas.