Merge pull request 'fix: re-enabling full REPLACE uploads' (#21) from issue20 into development
Build / Build-and-ng-test (pull_request) Successful in 23s Details

Reviewed-on: #21
This commit is contained in:
allan 2023-08-23 23:10:23 +00:00
commit 61cc360c85
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;