@sasjs/core 4.66.0 → 4.66.2
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 +1 -1
- package/viya/mv_createwebservice.sas +11 -1
- package/viya/mv_webout.sas +11 -1
package/package.json
CHANGED
|
@@ -609,6 +609,11 @@ data _null_;
|
|
|
609
609
|
put ' %let _webin_file_count=%eval(&_webin_file_count+0); ';
|
|
610
610
|
put ' %let _webin_fileuri1=&_webin_fileuri; ';
|
|
611
611
|
put ' %let _webin_name1=&_webin_name; ';
|
|
612
|
+
put ' %if &_EXECUTIONTASKS=true %then %do; ';
|
|
613
|
+
put ' /* TODO - remove this once SAS Track CS0409737 is resolved */ ';
|
|
614
|
+
put ' /* links: https://github.com/sasjs/adapter/issues/884 */ ';
|
|
615
|
+
put ' %if %upcase(&_webin_name)=_SASJS_NOOP %then %let _webin_file_count=0; ';
|
|
616
|
+
put ' %end; ';
|
|
612
617
|
put ' %end; ';
|
|
613
618
|
put ' ';
|
|
614
619
|
put ' /* if the sasjs_tables param is passed, we expect param based upload */ ';
|
|
@@ -692,6 +697,9 @@ data _null_;
|
|
|
692
697
|
put ' ';
|
|
693
698
|
put ' /* setup json */ ';
|
|
694
699
|
put ' data _null_;file &fref; ';
|
|
700
|
+
put ' %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; ';
|
|
701
|
+
put ' put ''>>weboutBEGIN<<''; ';
|
|
702
|
+
put ' %end; ';
|
|
695
703
|
put ' put ''{"SYSDATE" : "'' "&SYSDATE" ''"''; ';
|
|
696
704
|
put ' put '',"SYSTIME" : "'' "&SYSTIME" ''"''; ';
|
|
697
705
|
put ' run; ';
|
|
@@ -804,7 +812,9 @@ data _null_;
|
|
|
804
812
|
put ' memsize=quote(cats(memsize)); ';
|
|
805
813
|
put ' put '',"MEMSIZE" : '' memsize; ';
|
|
806
814
|
put ' put "}"; ';
|
|
807
|
-
put ' ';
|
|
815
|
+
put ' %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; ';
|
|
816
|
+
put ' put ''>>weboutEND<<''; ';
|
|
817
|
+
put ' %end; ';
|
|
808
818
|
put ' %if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do; ';
|
|
809
819
|
put ' data _null_; rc=fcopy("&fref","_webout");run; ';
|
|
810
820
|
put ' %end; ';
|
package/viya/mv_webout.sas
CHANGED
|
@@ -70,6 +70,11 @@
|
|
|
70
70
|
%let _webin_file_count=%eval(&_webin_file_count+0);
|
|
71
71
|
%let _webin_fileuri1=&_webin_fileuri;
|
|
72
72
|
%let _webin_name1=&_webin_name;
|
|
73
|
+
%if &_EXECUTIONTASKS=true %then %do;
|
|
74
|
+
/* TODO - remove this once SAS Track CS0409737 is resolved */
|
|
75
|
+
/* links: https://github.com/sasjs/adapter/issues/884 */
|
|
76
|
+
%if %upcase(&_webin_name)=_SASJS_NOOP %then %let _webin_file_count=0;
|
|
77
|
+
%end;
|
|
73
78
|
%end;
|
|
74
79
|
|
|
75
80
|
/* if the sasjs_tables param is passed, we expect param based upload */
|
|
@@ -153,6 +158,9 @@
|
|
|
153
158
|
|
|
154
159
|
/* setup json */
|
|
155
160
|
data _null_;file &fref;
|
|
161
|
+
%if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do;
|
|
162
|
+
put '>>weboutBEGIN<<';
|
|
163
|
+
%end;
|
|
156
164
|
put '{"SYSDATE" : "' "&SYSDATE" '"';
|
|
157
165
|
put ',"SYSTIME" : "' "&SYSTIME" '"';
|
|
158
166
|
run;
|
|
@@ -265,7 +273,9 @@
|
|
|
265
273
|
memsize=quote(cats(memsize));
|
|
266
274
|
put ',"MEMSIZE" : ' memsize;
|
|
267
275
|
put "}";
|
|
268
|
-
|
|
276
|
+
%if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do;
|
|
277
|
+
put '>>weboutEND<<';
|
|
278
|
+
%end;
|
|
269
279
|
%if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do;
|
|
270
280
|
data _null_; rc=fcopy("&fref","_webout");run;
|
|
271
281
|
%end;
|