diff --git a/all.sas b/all.sas index 4bfee7a..9f11c82 100644 --- a/all.sas +++ b/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; diff --git a/server/ms_getusers.sas b/server/ms_getusers.sas index 2dbe021..8034f9e 100644 --- a/server/ms_getusers.sas +++ b/server/ms_getusers.sas @@ -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;