From 5f5fb0116a5954fd84c8c228a913912e039587d5 Mon Sep 17 00:00:00 2001 From: 4gl <@> Date: Wed, 13 May 2026 14:04:13 +0100 Subject: [PATCH 1/2] fix: adding weboutBEGIN/END when exectask=true --- viya/mv_webout.sas | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/viya/mv_webout.sas b/viya/mv_webout.sas index 1bce696..a188f6e 100644 --- a/viya/mv_webout.sas +++ b/viya/mv_webout.sas @@ -158,6 +158,9 @@ /* setup json */ data _null_;file &fref; + %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; + put '>>weboutBEGIN<<'; + %end; put '{"SYSDATE" : "' "&SYSDATE" '"'; put ',"SYSTIME" : "' "&SYSTIME" '"'; run; @@ -270,7 +273,9 @@ memsize=quote(cats(memsize)); put ',"MEMSIZE" : ' memsize; put "}"; - + %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; + put '>>weboutEND<<'; + %end; %if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do; data _null_; rc=fcopy("&fref","_webout");run; %end; From 4934e6675e8eae8cf449da33497f6701ec3dd55d Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 13 May 2026 13:04:37 +0000 Subject: [PATCH 2/2] chore: updating all.sas --- all.sas | 14 ++++++++++++-- viya/mv_createwebservice.sas | 7 ++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/all.sas b/all.sas index 577e1eb..73ac7c4 100644 --- a/all.sas +++ b/all.sas @@ -26414,6 +26414,9 @@ data _null_; put ' '; put ' /* setup json */ '; put ' data _null_;file &fref; '; + put ' %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; '; + put ' put ''>>weboutBEGIN<<''; '; + put ' %end; '; put ' put ''{"SYSDATE" : "'' "&SYSDATE" ''"''; '; put ' put '',"SYSTIME" : "'' "&SYSTIME" ''"''; '; put ' run; '; @@ -26526,7 +26529,9 @@ data _null_; put ' memsize=quote(cats(memsize)); '; put ' put '',"MEMSIZE" : '' memsize; '; put ' put "}"; '; - put ' '; + put ' %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; '; + put ' put ''>>weboutEND<<''; '; + put ' %end; '; put ' %if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do; '; put ' data _null_; rc=fcopy("&fref","_webout");run; '; put ' %end; '; @@ -30540,6 +30545,9 @@ filename &fref1 clear; /* setup json */ data _null_;file &fref; + %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; + put '>>weboutBEGIN<<'; + %end; put '{"SYSDATE" : "' "&SYSDATE" '"'; put ',"SYSTIME" : "' "&SYSTIME" '"'; run; @@ -30652,7 +30660,9 @@ filename &fref1 clear; memsize=quote(cats(memsize)); put ',"MEMSIZE" : ' memsize; put "}"; - + %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; + put '>>weboutEND<<'; + %end; %if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do; data _null_; rc=fcopy("&fref","_webout");run; %end; diff --git a/viya/mv_createwebservice.sas b/viya/mv_createwebservice.sas index 2d8b738..8842bce 100644 --- a/viya/mv_createwebservice.sas +++ b/viya/mv_createwebservice.sas @@ -697,6 +697,9 @@ data _null_; put ' '; put ' /* setup json */ '; put ' data _null_;file &fref; '; + put ' %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; '; + put ' put ''>>weboutBEGIN<<''; '; + put ' %end; '; put ' put ''{"SYSDATE" : "'' "&SYSDATE" ''"''; '; put ' put '',"SYSTIME" : "'' "&SYSTIME" ''"''; '; put ' run; '; @@ -809,7 +812,9 @@ data _null_; put ' memsize=quote(cats(memsize)); '; put ' put '',"MEMSIZE" : '' memsize; '; put ' put "}"; '; - put ' '; + put ' %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; '; + put ' put ''>>weboutEND<<''; '; + put ' %end; '; put ' %if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do; '; put ' data _null_; rc=fcopy("&fref","_webout");run; '; put ' %end; ';