From aaad9f7207115599a006980fff099d59738dd2cd Mon Sep 17 00:00:00 2001 From: ^ Date: Tue, 30 Apr 2024 12:34:22 +0100 Subject: [PATCH] fix: load_ref var --- sas/sasjs/macros/mpe_checkrestore.sas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sas/sasjs/macros/mpe_checkrestore.sas b/sas/sasjs/macros/mpe_checkrestore.sas index fa63379..bf02272 100644 --- a/sas/sasjs/macros/mpe_checkrestore.sas +++ b/sas/sasjs/macros/mpe_checkrestore.sas @@ -44,10 +44,10 @@ %let chk=0; proc sql noprint; select count(*) into: chk from &dc_libref..mpe_audit - where load_ref="&table"; + where load_ref="&load_ref"; %if &chk=0 %then %do; %let allow_restore=NO; - %let reason=No entry for &table in MPE_AUDIT; + %let reason=No entry for &load_ref in MPE_AUDIT; %return; %end;