1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-03 15:40:05 +00:00

fix: put wrapper

This commit is contained in:
Allan Bowe
2022-05-12 10:17:37 +00:00
parent ca7c332f20
commit 1ed3cb31b5
2 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@
%if %mf_getattrn(&libds,NLOBS)=0 %then %do;
data &outds;
length hashkey $32;
hashkey=md5("&salt",$hex32.);
hashkey=put(md5("&salt"),$hex32.);
output;
stop;
run;
@@ -76,7 +76,7 @@
;
length &prevkeyvar &keyvar $32;
retain &prevkeyvar;
if _n_=1 then &prevkeyvar=md5("&salt",$hex32.);
if _n_=1 then &prevkeyvar=put(md5("&salt"),$hex32.);
set &libds end=&lastvar;
/* hash should include previous row */
&keyvar=%mp_md5(