@sasjs/core 4.32.5 → 4.32.8
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/mp_jsonout.sas
CHANGED
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
)/*/STORE SOURCE*/;
|
|
80
80
|
%local tempds colinfo fmtds i numcols stmt_obs;
|
|
81
81
|
%let numcols=0;
|
|
82
|
-
%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;);
|
|
82
|
+
%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;);
|
|
83
83
|
|
|
84
84
|
%if &action=OPEN %then %do;
|
|
85
85
|
options nobomfile;
|
|
@@ -102,7 +102,7 @@ data _null_;
|
|
|
102
102
|
put ')/*/STORE SOURCE*/; ';
|
|
103
103
|
put '%local tempds colinfo fmtds i numcols stmt_obs; ';
|
|
104
104
|
put '%let numcols=0; ';
|
|
105
|
-
put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); ';
|
|
105
|
+
put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); ';
|
|
106
106
|
put ' ';
|
|
107
107
|
put '%if &action=OPEN %then %do; ';
|
|
108
108
|
put ' options nobomfile; ';
|
package/package.json
CHANGED
|
@@ -103,7 +103,7 @@ data _null_;
|
|
|
103
103
|
put ')/*/STORE SOURCE*/; ';
|
|
104
104
|
put '%local tempds colinfo fmtds i numcols stmt_obs; ';
|
|
105
105
|
put '%let numcols=0; ';
|
|
106
|
-
put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); ';
|
|
106
|
+
put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); ';
|
|
107
107
|
put ' ';
|
|
108
108
|
put '%if &action=OPEN %then %do; ';
|
|
109
109
|
put ' options nobomfile; ';
|
package/server/ms_getusers.sas
CHANGED
|
@@ -116,14 +116,16 @@ libname &libref JSON fileref=&fref1;
|
|
|
116
116
|
%if "&group"="0" and "&gid"="0" %then %do;
|
|
117
117
|
data &outds;
|
|
118
118
|
length DISPLAYNAME $60 USERNAME:$30 ID 8;
|
|
119
|
-
|
|
119
|
+
if nobs=0 then call missing(of _all_);
|
|
120
|
+
set &libref..root nobs=nobs;
|
|
120
121
|
drop ordinal_root;
|
|
121
122
|
run;
|
|
122
123
|
%end;
|
|
123
124
|
%else %do;
|
|
124
125
|
data &outds;
|
|
125
126
|
length DISPLAYNAME $60 USERNAME:$30 ID 8;
|
|
126
|
-
|
|
127
|
+
if nobs=0 then call missing(of _all_);
|
|
128
|
+
set &libref..users nobs=nobs;
|
|
127
129
|
drop ordinal_root ordinal_users;
|
|
128
130
|
run;
|
|
129
131
|
%end;
|
|
@@ -245,7 +245,7 @@ data _null_;
|
|
|
245
245
|
put ')/*/STORE SOURCE*/; ';
|
|
246
246
|
put '%local tempds colinfo fmtds i numcols stmt_obs; ';
|
|
247
247
|
put '%let numcols=0; ';
|
|
248
|
-
put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); ';
|
|
248
|
+
put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); ';
|
|
249
249
|
put ' ';
|
|
250
250
|
put '%if &action=OPEN %then %do; ';
|
|
251
251
|
put ' options nobomfile; ';
|
|
@@ -606,8 +606,7 @@ data _null_;
|
|
|
606
606
|
put ' ';
|
|
607
607
|
put ' /* setup temp ref */ ';
|
|
608
608
|
put ' %if %upcase(&fref) ne _WEBOUT %then %do; ';
|
|
609
|
-
put ' filename &fref temp lrecl=999999 permission=''A::u::rwx,A::g::rw-,A::o::---'' ';
|
|
610
|
-
put ' mod; ';
|
|
609
|
+
put ' filename &fref temp lrecl=999999 permission=''A::u::rwx,A::g::rw-,A::o::---''; ';
|
|
611
610
|
put ' %end; ';
|
|
612
611
|
put ' ';
|
|
613
612
|
put ' /* setup json */ ';
|
package/viya/mv_webout.sas
CHANGED
|
@@ -135,8 +135,7 @@
|
|
|
135
135
|
|
|
136
136
|
/* setup temp ref */
|
|
137
137
|
%if %upcase(&fref) ne _WEBOUT %then %do;
|
|
138
|
-
filename &fref temp lrecl=999999 permission='A::u::rwx,A::g::rw-,A::o::---'
|
|
139
|
-
mod;
|
|
138
|
+
filename &fref temp lrecl=999999 permission='A::u::rwx,A::g::rw-,A::o::---';
|
|
140
139
|
%end;
|
|
141
140
|
|
|
142
141
|
/* setup json */
|