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;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.