Hello experts,
In our ogranization we are using SAS autoload for loading data into LASR. The VA users can unload their data by moving datasets to the unload folder in the autoload directory. However the metadata registration of the table won't delete autmatically.
So we are looking for a SAS program that checks all registered tables in a LASR server, then check if they are unloaded from memory and thereafter delete automatically the metadata registration for the table.
With automatically I mean.We will schedule this program. So we can run this program periodically.
We are running on SAS VA 7.3 (Linux).
Thanks in advance.
Hello @sergie89,
luckily SAS employee @BrunoMueller already answered this question! Please refer to https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tabl...
Please let us know if this helps you.
Kind regards,
Juan
Hello @sergie89,
luckily SAS employee @BrunoMueller already answered this question! Please refer to https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tabl...
Please let us know if this helps you.
Kind regards,
Juan
Hi @JuanS_OCS,
Thanks for your reply. The SAS program of @Bruno_SAS in https://communities.sas.com/t5/SAS-Visual-Analytics/Program-to-remove-metadata-registration-for-tabl... shows only a summary of tables that aren't loaded in LASR anymore, is that right ?
Hi @JuanS_OCS,
You're right the SAS program of @Bruno_SAS works fine when I ignore noexec in the code!
proc metalib;
omr ( LIBRARY="Visual Analytics Public LASR" );
update_rule = (delete noadd noupdate);
report = ( type=summary );
/*noexec;*/
run;
I didn't read the code carefully.
Glad to know it was useful!
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.