@sasjs/core 7.1.0 → 7.1.1

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/package.json CHANGED
@@ -43,5 +43,5 @@
43
43
  "devDependencies": {
44
44
  "@nogoo9/gitleaks": "8.30.1-post.2"
45
45
  },
46
- "version": "7.1.0"
46
+ "version": "7.1.1"
47
47
  }
@@ -18,8 +18,8 @@
18
18
  ordinal_root num,
19
19
  ordinal_items num,
20
20
  version num,
21
- id char(43),
22
- name char(43),
21
+ id char(256),
22
+ name char(256),
23
23
  providerId char(5),
24
24
  implicit num
25
25
 
@@ -29,7 +29,11 @@
29
29
  @param [in] grant_type= (sas_services)
30
30
  valid values are "password" or "authorization_code" (unquoted).
31
31
  @param [out] outds= (work.viyagroupmembers)
32
- The library.dataset to be created that contains the list of group members
32
+ The library.dataset to be created that contains the list of members
33
+
34
+ id and name are declared at $256, the longest active directory can hold for
35
+ a display name or a SAM account name. The $43 they used to carry truncated
36
+ anything longer, and a truncation fails the step on some platforms.
33
37
 
34
38
 
35
39
  @version VIYA V.03.04
@@ -85,7 +89,7 @@ run;
85
89
  %if &SYS_PROCHTTP_STATUS_CODE=404 %then %do;
86
90
  %put NOTE: Group &group not found!!;
87
91
  data &outds;
88
- length id name $43;
92
+ length id name $256;
89
93
  call missing(of _all_);
90
94
  run;
91
95
  %end;
@@ -96,8 +100,14 @@ run;
96
100
  )
97
101
  %let libref1=%mf_getuniquelibref();
98
102
  libname &libref1 JSON fileref=&fname1;
103
+ /* id and name have to be declared, as a group with no members returns no
104
+ such columns to rename. $256 is the longest active directory can hold for
105
+ a display name or a SAM account name: the JSON engine sizes the columns to
106
+ the longest value in the payload, so a shorter declaration truncates the
107
+ name and fails the step with "Multiple lengths were specified for the
108
+ variable ... by input data set(s)". */
99
109
  data &outds;
100
- length id name $43;
110
+ length id name $256;
101
111
  set &libref1..items;
102
112
  run;
103
113
  libname &libref1 clear;