@sasjs/core 4.32.6 → 4.32.9

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.
@@ -296,6 +296,7 @@
296
296
  filename _sjs4 temp lrecl=131068 encoding='utf-8';
297
297
  data _null_;
298
298
  file _sjs4;
299
+ length label $350;
299
300
  put ", ""$%lowcase(%sysfunc(coalescec(&dslabel,&ds)))"":{""vars"":{";
300
301
  do i=1 to &numcols;
301
302
  name=quote(trim(symget(cats('name',i))));
@@ -319,6 +319,7 @@ data _null_;
319
319
  put ' filename _sjs4 temp lrecl=131068 encoding=''utf-8''; ';
320
320
  put ' data _null_; ';
321
321
  put ' file _sjs4; ';
322
+ put ' length label $350; ';
322
323
  put ' put ", ""$%lowcase(%sysfunc(coalescec(&dslabel,&ds)))"":{""vars"":{"; ';
323
324
  put ' do i=1 to &numcols; ';
324
325
  put ' name=quote(trim(symget(cats(''name'',i)))); ';
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "3.13.0"
37
37
  },
38
- "version": "4.32.6"
38
+ "version": "4.32.9"
39
39
  }
@@ -320,6 +320,7 @@ data _null_;
320
320
  put ' filename _sjs4 temp lrecl=131068 encoding=''utf-8''; ';
321
321
  put ' data _null_; ';
322
322
  put ' file _sjs4; ';
323
+ put ' length label $350; ';
323
324
  put ' put ", ""$%lowcase(%sysfunc(coalescec(&dslabel,&ds)))"":{""vars"":{"; ';
324
325
  put ' do i=1 to &numcols; ';
325
326
  put ' name=quote(trim(symget(cats(''name'',i)))); ';
@@ -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
- set &libref..root;
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
- set &libref..users;
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;
@@ -462,6 +462,7 @@ data _null_;
462
462
  put ' filename _sjs4 temp lrecl=131068 encoding=''utf-8''; ';
463
463
  put ' data _null_; ';
464
464
  put ' file _sjs4; ';
465
+ put ' length label $350; ';
465
466
  put ' put ", ""$%lowcase(%sysfunc(coalescec(&dslabel,&ds)))"":{""vars"":{"; ';
466
467
  put ' do i=1 to &numcols; ';
467
468
  put ' name=quote(trim(symget(cats(''name'',i)))); ';
@@ -606,8 +607,7 @@ data _null_;
606
607
  put ' ';
607
608
  put ' /* setup temp ref */ ';
608
609
  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; ';
610
+ put ' filename &fref temp lrecl=999999 permission=''A::u::rwx,A::g::rw-,A::o::---''; ';
611
611
  put ' %end; ';
612
612
  put ' ';
613
613
  put ' /* setup json */ ';
@@ -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 */