fix: reducing audit data volumes. Closes #4
Some checks failed
Build / Build-and-ng-test (pull_request) Failing after 1m12s

This commit is contained in:
Allan 2023-07-20 21:29:34 +01:00
parent 8dc40bdd4e
commit 54fe7013b1

View File

@ -1390,9 +1390,11 @@ run;
,processed_dttm=&now
,loadref=%superq(etlsource)
)
data _null_;
/* exclude unchanged values in modified rows */
data work.mp_storediffs;
set work.mp_storediffs;
putlog load_ref= libref= dsn= key_hash= tgtvar_nm=;
if MOVE_TYPE="M" and IS_PK=0 and IS_DIFF=0 then delete;
* putlog load_ref= libref= dsn= key_hash= tgtvar_nm=;
run;
proc append base=&outds_audit data=work.mp_storediffs;
run;