Hi experts
In our organisation some of the VAusers use the manuel import of data in the Data Exploration Tab a lot. Unfortunately they do not always remove data again when finish exploring. And a restart of the LASR-server wipes all manuel imported data resulting in growing amount of registered tables in the administraton tab in the VA hub. We also use Autoload.
I would like to create a SAS program that list all tables registered in a LASR server library and then check if they are loaded to memory in the LASR server and if not deletes the metadata registration for the table.
Have anyone already created a program to do something like that?
We are runnning VA 7.3 (SAS 9.4)
Thanks
Lars
Hi
How about using Proc METALIB, see below for an example.
I assume that the list of libraries user can add their data is limited and can be hardcoded in the code.
The NOEXEC will not run the update rule, but will report what would be done.
proc metalib;
omr ( LIBRARY="Visual Analytics Public LASR" );
update_rule = (delete noadd noupdate);
report = ( type=summary );
noexec;
run;
You need to have a connection to the Metadata Server in order to run this code.
Bruno
Hi
How about using Proc METALIB, see below for an example.
I assume that the list of libraries user can add their data is limited and can be hardcoded in the code.
The NOEXEC will not run the update rule, but will report what would be done.
proc metalib;
omr ( LIBRARY="Visual Analytics Public LASR" );
update_rule = (delete noadd noupdate);
report = ( type=summary );
noexec;
run;
You need to have a connection to the Metadata Server in order to run this code.
Bruno
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.