From 7bb089e2699da92d4d50a8f1a58c496351619680 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Fri, 26 Nov 2021 11:55:55 +0000 Subject: [PATCH] fix: moving cleanup to temp table for efficiency --- base/mp_dirlist.sas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/base/mp_dirlist.sas b/base/mp_dirlist.sas index b44a63d..23b0df5 100644 --- a/base/mp_dirlist.sas +++ b/base/mp_dirlist.sas @@ -186,12 +186,12 @@ run; run; %end; -/* update main table */ -proc append base=&outds data=&out_ds; +data &out_ds; + set &out_ds(where=(filepath ne '')); run; -data &outds; - set &outds(where=(filepath ne '')); +/* update main table */ +proc append base=&outds data=&out_ds; run; /* recursive call */