mirror of
https://github.com/sasjs/core.git
synced 2025-12-10 22:14:35 +00:00
Merge pull request #73 from sasjs/defaultvars
fix: adding default lengths to vars in mv_getfoldermembers to cover u…
This commit is contained in:
3
all.sas
3
all.sas
@@ -7595,7 +7595,7 @@ alter table &libds modify &var char(&len);
|
|||||||
/* If Viya, create temporary fileref(s) */
|
/* If Viya, create temporary fileref(s) */
|
||||||
%local i;
|
%local i;
|
||||||
%if %mf_getplatform()=SASVIYA %then %do i=1 %to &_webin_file_count;
|
%if %mf_getplatform()=SASVIYA %then %do i=1 %to &_webin_file_count;
|
||||||
%let _webin_fileref&i=%mf_getuniquefileref(prefix=0);
|
%let _webin_fileref&i=%mf_getuniquefileref();
|
||||||
filename &&_webin_fileref&i filesrvc "&&_webin_fileuri&i";
|
filename &&_webin_fileref&i filesrvc "&&_webin_fileuri&i";
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
@@ -15794,6 +15794,7 @@ options noquotelenmax;
|
|||||||
run;
|
run;
|
||||||
libname &libref2 JSON fileref=&fname2;
|
libname &libref2 JSON fileref=&fname2;
|
||||||
data &outds;
|
data &outds;
|
||||||
|
length id $36 name $128 uri $64 type $32 description $256;
|
||||||
set &libref2..items;
|
set &libref2..items;
|
||||||
run;
|
run;
|
||||||
filename &fname2 clear;
|
filename &fname2 clear;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
/* If Viya, create temporary fileref(s) */
|
/* If Viya, create temporary fileref(s) */
|
||||||
%local i;
|
%local i;
|
||||||
%if %mf_getplatform()=SASVIYA %then %do i=1 %to &_webin_file_count;
|
%if %mf_getplatform()=SASVIYA %then %do i=1 %to &_webin_file_count;
|
||||||
%let _webin_fileref&i=%mf_getuniquefileref(prefix=0);
|
%let _webin_fileref&i=%mf_getuniquefileref();
|
||||||
filename &&_webin_fileref&i filesrvc "&&_webin_fileuri&i";
|
filename &&_webin_fileref&i filesrvc "&&_webin_fileuri&i";
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
|
|||||||
@@ -122,6 +122,7 @@ options noquotelenmax;
|
|||||||
run;
|
run;
|
||||||
libname &libref2 JSON fileref=&fname2;
|
libname &libref2 JSON fileref=&fname2;
|
||||||
data &outds;
|
data &outds;
|
||||||
|
length id $36 name $128 uri $64 type $32 description $256;
|
||||||
set &libref2..items;
|
set &libref2..items;
|
||||||
run;
|
run;
|
||||||
filename &fname2 clear;
|
filename &fname2 clear;
|
||||||
|
|||||||
Reference in New Issue
Block a user