From 9b1f0d7bcb7d0159df7118b615bca5361a02cc9d Mon Sep 17 00:00:00 2001 From: munja Date: Sun, 26 Dec 2021 16:27:04 +0000 Subject: [PATCH] fix: avoiding append warning: syswarningtext=Variable processed_dttm has format DATETIME19. on the BASE data set and format E8601DT26. on the DATA data set. --- all.sas | 6 +++--- base/mp_filterstore.sas | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/all.sas b/all.sas index d3fe7ad..07f5a1b 100644 --- a/all.sas +++ b/all.sas @@ -5323,10 +5323,10 @@ run; data &ds2; if 0 then set &filter_detail; set &queryds; - format filter_hash $hex32. filter_line 8. processed_dttm E8601DT26.6; + format filter_hash $hex32. filter_line 8.; filter_hash="&filter_hash"; filter_line=_n_; - PROCESSED_DTTM="%sysfunc(datetime(),E8601DT26.6)"dt; + PROCESSED_DTTM=%sysfunc(datetime()); run; %mp_lockanytable(LOCK, lib=%scan(&filter_detail,1,.) @@ -5350,7 +5350,7 @@ run; if 0 then set &filter_summary; filter_table=symget('libds'); filter_hash="&filter_hash"; - PROCESSED_DTTM="%sysfunc(datetime(),E8601DT26.6)"dt; + PROCESSED_DTTM=%sysfunc(datetime()); output; stop; run; diff --git a/base/mp_filterstore.sas b/base/mp_filterstore.sas index 9bc99c2..70b4d74 100644 --- a/base/mp_filterstore.sas +++ b/base/mp_filterstore.sas @@ -133,10 +133,10 @@ run; data &ds2; if 0 then set &filter_detail; set &queryds; - format filter_hash $hex32. filter_line 8. processed_dttm E8601DT26.6; + format filter_hash $hex32. filter_line 8.; filter_hash="&filter_hash"; filter_line=_n_; - PROCESSED_DTTM="%sysfunc(datetime(),E8601DT26.6)"dt; + PROCESSED_DTTM=%sysfunc(datetime()); run; %mp_lockanytable(LOCK, lib=%scan(&filter_detail,1,.) @@ -160,7 +160,7 @@ run; if 0 then set &filter_summary; filter_table=symget('libds'); filter_hash="&filter_hash"; - PROCESSED_DTTM="%sysfunc(datetime(),E8601DT26.6)"dt; + PROCESSED_DTTM=%sysfunc(datetime()); output; stop; run;