mirror of
https://github.com/sasjs/core.git
synced 2026-01-15 20:40:05 +00:00
fix: enabling ms_testservice() without inputs
This commit is contained in:
2
all.sas
2
all.sas
@@ -20432,6 +20432,7 @@ options &optval;
|
|||||||
%let ds1=%mf_getuniquename();
|
%let ds1=%mf_getuniquename();
|
||||||
data &ds1;
|
data &ds1;
|
||||||
length fileref $8 name $32 filename $256 var $300;
|
length fileref $8 name $32 filename $256 var $300;
|
||||||
|
if "&inputfiles" ne "0" then do;
|
||||||
webcount=countw("&inputfiles");
|
webcount=countw("&inputfiles");
|
||||||
do i=1 to webcount;
|
do i=1 to webcount;
|
||||||
var=scan("&inputfiles",i,' ');
|
var=scan("&inputfiles",i,' ');
|
||||||
@@ -20440,6 +20441,7 @@ data &ds1;
|
|||||||
filename=cats(name,'.csv');
|
filename=cats(name,'.csv');
|
||||||
output;
|
output;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
%let ds1=%mf_getuniquename();
|
%let ds1=%mf_getuniquename();
|
||||||
data &ds1;
|
data &ds1;
|
||||||
length fileref $8 name $32 filename $256 var $300;
|
length fileref $8 name $32 filename $256 var $300;
|
||||||
|
if "&inputfiles" ne "0" then do;
|
||||||
webcount=countw("&inputfiles");
|
webcount=countw("&inputfiles");
|
||||||
do i=1 to webcount;
|
do i=1 to webcount;
|
||||||
var=scan("&inputfiles",i,' ');
|
var=scan("&inputfiles",i,' ');
|
||||||
@@ -90,6 +91,7 @@ data &ds1;
|
|||||||
filename=cats(name,'.csv');
|
filename=cats(name,'.csv');
|
||||||
output;
|
output;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user