@sasjs/core 4.15.1 → 4.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/base/mf_getuser.sas
CHANGED
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
%else %if %symexist(&metavar) %then %do;
|
|
34
34
|
%if %length(&&&metavar)=0 %then %let user=&sysuserid;
|
|
35
35
|
/* sometimes SAS will add @domain extension - remove for consistency */
|
|
36
|
-
|
|
36
|
+
/* but be sure to quote in case of usernames with commas */
|
|
37
|
+
%else %let user=%unquote(%scan(%quote(&&&metavar),1,@));
|
|
37
38
|
%end;
|
|
38
39
|
%else %let user=&sysuserid;
|
|
39
40
|
|
package/base/mp_hashdataset.sas
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
@param [in] salt= Provide a salt (could be, for instance, the dataset name)
|
|
24
24
|
@param [in] iftrue= A condition under which the macro should be executed.
|
|
25
25
|
@param [out] outds= (work.mf_hashdataset) The output dataset to create. This
|
|
26
|
-
will contain one column (hashkey) with one observation (a hex32.
|
|
26
|
+
will contain one column (hashkey) with one observation (a $hex32.
|
|
27
27
|
representation of the input hash)
|
|
28
28
|
|hashkey:$32.|
|
|
29
29
|
|---|
|
package/base/mp_loadformat.sas
CHANGED
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
@li mp_abort.sas
|
|
41
41
|
@li mp_cntlout.sas
|
|
42
42
|
@li mp_lockanytable.sas
|
|
43
|
+
@li mp_storediffs.sas
|
|
43
44
|
|
|
44
45
|
<h4> Related Macros </h4>
|
|
45
46
|
@li mddl_dc_difftable.sas
|
|
46
47
|
@li mddl_dc_locktable.sas
|
|
47
48
|
@li mp_loadformat.test.sas
|
|
48
49
|
@li mp_lockanytable.sas
|
|
49
|
-
@li mp_storediffs.sas
|
|
50
50
|
@li mp_stackdiffs.sas
|
|
51
51
|
|
|
52
52
|
|
|
@@ -272,6 +272,9 @@ options ibufsize=&ibufsize;
|
|
|
272
272
|
,mdebug=&mdebug
|
|
273
273
|
)
|
|
274
274
|
|
|
275
|
+
proc append base=&auditlibds data=&storediffs;
|
|
276
|
+
run;
|
|
277
|
+
|
|
275
278
|
%if &locklibds ne 0 %then %do;
|
|
276
279
|
%mp_lockanytable(UNLOCK
|
|
277
280
|
,lib=%scan(&auditlibds,1,.)
|
|
@@ -295,4 +298,4 @@ options ibufsize=&ibufsize;
|
|
|
295
298
|
%put &sysmacroname exit vars:;
|
|
296
299
|
%put _local_;
|
|
297
300
|
%end;
|
|
298
|
-
%mend mp_loadformat;
|
|
301
|
+
%mend mp_loadformat;
|
package/base/mp_md5.sas
CHANGED
|
@@ -453,7 +453,8 @@ data _null_;
|
|
|
453
453
|
put ' %else %if %symexist(&metavar) %then %do; ';
|
|
454
454
|
put ' %if %length(&&&metavar)=0 %then %let user=&sysuserid; ';
|
|
455
455
|
put ' /* sometimes SAS will add @domain extension - remove for consistency */ ';
|
|
456
|
-
put '
|
|
456
|
+
put ' /* but be sure to quote in case of usernames with commas */ ';
|
|
457
|
+
put ' %else %let user=%unquote(%scan(%quote(&&&metavar),1,@)); ';
|
|
457
458
|
put ' %end; ';
|
|
458
459
|
put ' %else %let user=&sysuserid; ';
|
|
459
460
|
put ' ';
|
package/package.json
CHANGED
|
@@ -655,7 +655,8 @@ data _null_;
|
|
|
655
655
|
put ' %else %if %symexist(&metavar) %then %do; ';
|
|
656
656
|
put ' %if %length(&&&metavar)=0 %then %let user=&sysuserid; ';
|
|
657
657
|
put ' /* sometimes SAS will add @domain extension - remove for consistency */ ';
|
|
658
|
-
put '
|
|
658
|
+
put ' /* but be sure to quote in case of usernames with commas */ ';
|
|
659
|
+
put ' %else %let user=%unquote(%scan(%quote(&&&metavar),1,@)); ';
|
|
659
660
|
put ' %end; ';
|
|
660
661
|
put ' %else %let user=&sysuserid; ';
|
|
661
662
|
put ' ';
|