From d1998422d204157fcfc7d4f2c203b69aa730ab32 Mon Sep 17 00:00:00 2001 From: allan Date: Wed, 11 Jun 2025 14:15:50 +0100 Subject: [PATCH] chore: fix for mpe_datastatus_libs --- sas/sasjs/macros/mpe_refreshtables.sas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sas/sasjs/macros/mpe_refreshtables.sas b/sas/sasjs/macros/mpe_refreshtables.sas index 0baab24..d3388a5 100644 --- a/sas/sasjs/macros/mpe_refreshtables.sas +++ b/sas/sasjs/macros/mpe_refreshtables.sas @@ -327,7 +327,10 @@ proc sql; from statustabs group by 1; create table work.statuslibs as - select a.*, b.catalog_cnt + select coalesce(a.libref,b.libref) as libref, + a.libsize, + a.table_cnt, + b.catalog_cnt from work.sumdsn a full join work.sumcat b on a.libref=b.libref;