fix: no upcase of pk fields in MPE_TABLES in delete scenario
All checks were successful
Build / Build-and-ng-test (pull_request) Successful in 5m3s

closes #134
This commit is contained in:
Allan 2024-12-31 15:23:25 +00:00
parent 522979835c
commit 3de095fe77

View File

@ -23,8 +23,11 @@
/* ensure uppercasing */
data work.staging_ds;
set work.staging_ds;
LIBREF=upcase(LIBREF);
DSN=upcase(DSN);
/* PK fields should not be upcased if we are trying to delete records */
if upcase(_____DELETE__THIS__RECORD_____) ne "YES" then do;
LIBREF=upcase(LIBREF);
DSN=upcase(DSN);
end;
loadtype=upcase(loadtype);
buskey=upcase(buskey);
var_txfrom=upcase(var_txfrom);