From 967698e4ce1e0abcbc6f0aff8a4be6c512dee93c Mon Sep 17 00:00:00 2001 From: allan Date: Thu, 23 May 2024 12:07:11 +0100 Subject: [PATCH] fix: bitemporal load issue #105 --- sas/sasjs/macros/bitemporal_dataloader.sas | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sas/sasjs/macros/bitemporal_dataloader.sas b/sas/sasjs/macros/bitemporal_dataloader.sas index 7adc3b6..1a8ba55 100755 --- a/sas/sasjs/macros/bitemporal_dataloader.sas +++ b/sas/sasjs/macros/bitemporal_dataloader.sas @@ -1048,8 +1048,12 @@ run; %if &loadtype=BITEMPORAL %then %do; %let cat_string=catx('|' ,&bus_from,&bus_to); - data bitemp5a_lkp (keep=&md5_col); - set bitemp0_base; + data work.bitemp5a_lkp (keep=&md5_col) + %if "%substr(&sysver,1,1)" ne "4" and "%substr(&sysver,1,1)" ne "5" %then %do; + /nonote2err + %end; + ; + set work.bitemp0_base; /* for BITEMPORAL we need to compare business dates also */ &md5_col=put(md5(&cat_string!!'|'!!&stripcols),$hex32.); run;