1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-07 09:30:06 +00:00

feat: ignorevars option in mm_spkexport, and log update in mf_verifymacvars

This commit is contained in:
munja
2022-03-10 17:27:30 +00:00
parent 856ffc1b72
commit 312369b200
6 changed files with 127 additions and 51 deletions

View File

@@ -655,7 +655,8 @@ data _null_;
put ' %else %if %symexist(&metavar) %then %do; ';
put ' %if %length(&&&metavar)=0 %then %let user=&sysuserid; ';
put ' /* sometimes SAS will add @domain extension - remove for consistency */ ';
put ' %else %let user=%scan(&&&metavar,1,@); ';
put ' /* but be sure to quote in case of usernames with commas */ ';
put ' %else %let user=%unquote(%scan(%quote(&&&metavar),1,@)); ';
put ' %end; ';
put ' %else %let user=&sysuserid; ';
put ' ';