fix: re-enabling full REPLACE uploads
Build / Build-and-ng-test (pull_request) Successful in 24s Details

Implemented by provision of the necessary temp tables
This commit is contained in:
Allan 2023-08-24 00:09:25 +01:00
parent 8c2ee441fc
commit 08e39c4fca
2 changed files with 8 additions and 0 deletions

View File

@ -141,6 +141,13 @@ run;
%mp_lockanytable(UNLOCK,lib=&lib,ds=&ds,ctl_ds=&dclib..mpe_lockanytable)
%end;
%else %do;
/* is full replace so treat everything as a mod in diff screen */
data work.outds_mod work.outds_add work.outds_del;
set work.&staging_ds;
output work.outds_mod; /* _add and _del will be empty */
run;
%end;
%end;
%else %if &loadtype=UPDATE %then %do;
%bitemporal_dataloader(bus_from=,bus_to=

View File

@ -597,6 +597,7 @@ run;
%if &LOADTYPE=REPLACE %then %do;
data work.outds_add; run;
data work.outds_mod; run;
data work.outds_del; run;
%end;
libname approve "&mpelocapprovals/&TABLE";
data; set &libds;stop;run;