fix: bitemporal load issue #105 #108

Merged
allan merged 2 commits from issue105 into main 2024-05-23 11:08:03 +00:00

View File

@ -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;