1
0
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:
Allan Bowe
2022-05-02 13:56:22 +00:00
parent 039ec397dd
commit 35a6dede6f
2 changed files with 18 additions and 14 deletions

View File

@@ -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;

View File

@@ -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;