1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-03 07:40:04 +00:00

fix: adding default lengths to vars in mv_getfoldermembers to cover use case where no members found (and downstream process expects an empty table with those vars. Also fixing mp_webin to cover a case where native temp filerefs (starting with a #hash) are not supported.

This commit is contained in:
Allan Bowe
2021-09-11 19:24:51 +03:00
parent 486aba84ca
commit 3038be83a0
2 changed files with 2 additions and 1 deletions

View File

@@ -50,7 +50,7 @@
/* If Viya, create temporary fileref(s) */
%local i;
%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";
%end;

View File

@@ -122,6 +122,7 @@ options noquotelenmax;
run;
libname &libref2 JSON fileref=&fname2;
data &outds;
length id $36 name $128 uri $64 type $32 description $256;
set &libref2..items;
run;
filename &fname2 clear;