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;
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.