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!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.