mirror of
https://github.com/sasjs/core.git
synced 2025-12-10 14:04:36 +00:00
fix: ensuring results when strict mode enabled in ms_getusers
This commit is contained in:
6
all.sas
6
all.sas
@@ -20703,14 +20703,16 @@ libname &libref JSON fileref=&fref1;
|
||||
%if "&group"="0" and "&gid"="0" %then %do;
|
||||
data &outds;
|
||||
length DISPLAYNAME $60 USERNAME:$30 ID 8;
|
||||
set &libref..root;
|
||||
if nobs=0 then call missing(of _all_);
|
||||
set &libref..root nobs=nobs;
|
||||
drop ordinal_root;
|
||||
run;
|
||||
%end;
|
||||
%else %do;
|
||||
data &outds;
|
||||
length DISPLAYNAME $60 USERNAME:$30 ID 8;
|
||||
set &libref..users;
|
||||
if nobs=0 then call missing(of _all_);
|
||||
set &libref..users nobs=nobs;
|
||||
drop ordinal_root ordinal_users;
|
||||
run;
|
||||
%end;
|
||||
|
||||
@@ -116,14 +116,16 @@ libname &libref JSON fileref=&fref1;
|
||||
%if "&group"="0" and "&gid"="0" %then %do;
|
||||
data &outds;
|
||||
length DISPLAYNAME $60 USERNAME:$30 ID 8;
|
||||
set &libref..root;
|
||||
if nobs=0 then call missing(of _all_);
|
||||
set &libref..root nobs=nobs;
|
||||
drop ordinal_root;
|
||||
run;
|
||||
%end;
|
||||
%else %do;
|
||||
data &outds;
|
||||
length DISPLAYNAME $60 USERNAME:$30 ID 8;
|
||||
set &libref..users;
|
||||
if nobs=0 then call missing(of _all_);
|
||||
set &libref..users nobs=nobs;
|
||||
drop ordinal_root ordinal_users;
|
||||
run;
|
||||
%end;
|
||||
|
||||
Reference in New Issue
Block a user