Working with SAS Viya and the CAS (Cloud Analytic Services) engine often involves monitoring the memory footprint of your data. A common question frequently arises: how to obtain storage details (size, memory usage) for all tables in a library at once?If you have already tried using wildcards lik...
/* Ce code ne fonctionnera pas */ proc cas; table.tabledetails / name="%" caslib="MaLib"; quit;
proc cas; /* 1. Récupérer la liste de toutes les tables de la librairie */ table.tableinfo result=rc / caslib="casuser"; /* Variable pour gérer la syntaxe d'ajout (append) après la première itération */ fragment=';'; /* 2. Boucler sur chaque table trouvée */ ...