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;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.