Hello,
I allocating libref to remote SAS/SHARE like this:
%let node1=some_address some_port;
options comamid=tcp;
proc operate serverid=node1.sas_share sapw=some_password;
ALLOCATE LIBRARY TEST1 '/some/path';
And now I would like to know how to unallocate library. I know that I can use 'libname name clear' but this only make libref inactive. Like here:
NUMBER LIBREF STATUS OF USERS LIBRARY NAME -------------------------------------------------------------------------------------------------- TEST1 INACTIVE 0 /some/path
I want to remove libref from sas/share memory/unallocate without restart SAS/SHARE (UNIX). How to do that?
In proc operate use the "free" command:
proc operate serverid=node1.sas_share sapw=some_password;
FREE LIBRARY TEST1;
In proc operate use the "free" command:
proc operate serverid=node1.sas_share sapw=some_password;
FREE LIBRARY TEST1;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.