From 356d3644e51ce4db45855da74f785a44fdf3ac38 Mon Sep 17 00:00:00 2001 From: 4gl <@> Date: Tue, 12 May 2026 13:42:37 +0100 Subject: [PATCH 1/4] feat: support for Viya Compute Tasks --- viya/mv_webout.sas | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/viya/mv_webout.sas b/viya/mv_webout.sas index 6a5c7e37..22370c23 100644 --- a/viya/mv_webout.sas +++ b/viya/mv_webout.sas @@ -55,7 +55,7 @@ ,showmeta=N,maxobs=MAX,workobs=0 ); %global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name - sasjs_tables SYS_JES_JOB_URI; + sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS; %if %index("&_debug",log) %then %let _debug=131; %local i tempds table; @@ -110,8 +110,12 @@ %end; %else %do i=1 %to &_webin_file_count; /* read in any files that are sent */ - /* this part needs refactoring for wide files */ - filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; + %if &_EXECUTIONTASKS=true %then %do; + filename indata "%sysfunc(pathname(&&_webin_fileref&i))" lrecl=999999; + %end; + %else %do; + filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; + %end; data _null_; infile indata termstr=crlf lrecl=32767; input; From 0599c4d597481f6bf084704c11e5fc596b9d2911 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 12 May 2026 12:43:06 +0000 Subject: [PATCH 2/4] chore: updating all.sas --- all.sas | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/all.sas b/all.sas index 95f6e70e..413b3f4c 100644 --- a/all.sas +++ b/all.sas @@ -25291,7 +25291,6 @@ options noquotelenmax; run; %end; %if &SYS_PROCHTTP_STATUS_CODE=200 %then %do; - %*put &sysmacroname &newpath exists so grab the follow on link ; data _null_; set &libref1..links; if rel='createChild' then @@ -26312,7 +26311,7 @@ data _null_; put ' ,showmeta=N,maxobs=MAX,workobs=0 '; put '); '; put '%global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name '; - put ' sasjs_tables SYS_JES_JOB_URI; '; + put ' sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS; '; put '%if %index("&_debug",log) %then %let _debug=131; '; put ' '; put '%local i tempds table; '; @@ -26367,8 +26366,12 @@ data _null_; put ' %end; '; put ' %else %do i=1 %to &_webin_file_count; '; put ' /* read in any files that are sent */ '; - put ' /* this part needs refactoring for wide files */ '; - put ' filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; '; + put ' %if &_EXECUTIONTASKS=true %then %do; '; + put ' filename indata "%sysfunc(pathname(&&_webin_fileref&i))" lrecl=999999; '; + put ' %end; '; + put ' %else %do; '; + put ' filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; '; + put ' %end; '; put ' data _null_; '; put ' infile indata termstr=crlf lrecl=32767; '; put ' input; '; @@ -30429,7 +30432,7 @@ filename &fref1 clear; ,showmeta=N,maxobs=MAX,workobs=0 ); %global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name - sasjs_tables SYS_JES_JOB_URI; + sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS; %if %index("&_debug",log) %then %let _debug=131; %local i tempds table; @@ -30484,8 +30487,12 @@ filename &fref1 clear; %end; %else %do i=1 %to &_webin_file_count; /* read in any files that are sent */ - /* this part needs refactoring for wide files */ - filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; + %if &_EXECUTIONTASKS=true %then %do; + filename indata "%sysfunc(pathname(&&_webin_fileref&i))" lrecl=999999; + %end; + %else %do; + filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; + %end; data _null_; infile indata termstr=crlf lrecl=32767; input; From 59f8303b19e4977e3c0c5adb2726ceecad585b1b Mon Sep 17 00:00:00 2001 From: 4gl <@> Date: Tue, 12 May 2026 14:01:15 +0100 Subject: [PATCH 3/4] chore: ensuring mv_createwebservice is rebuilt on mv_webout change --- .github/workflows/notmain.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/notmain.yml b/.github/workflows/notmain.yml index e0ad2d2d..395297e6 100644 --- a/.github/workflows/notmain.yml +++ b/.github/workflows/notmain.yml @@ -26,6 +26,7 @@ jobs: git config user.email github-actions@github.com python3 build.py git add all.sas + git add viya/mv_createwebservice.sas git commit -m "chore: updating all.sas" --allow-empty git push From 96d42b9f663a4f9bd559545138038e3b5ed5b227 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 12 May 2026 13:02:35 +0000 Subject: [PATCH 4/4] chore: updating all.sas --- viya/mv_createwebservice.sas | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/viya/mv_createwebservice.sas b/viya/mv_createwebservice.sas index 6c29240a..a978d16f 100644 --- a/viya/mv_createwebservice.sas +++ b/viya/mv_createwebservice.sas @@ -594,7 +594,7 @@ data _null_; put ' ,showmeta=N,maxobs=MAX,workobs=0 '; put '); '; put '%global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name '; - put ' sasjs_tables SYS_JES_JOB_URI; '; + put ' sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS; '; put '%if %index("&_debug",log) %then %let _debug=131; '; put ' '; put '%local i tempds table; '; @@ -649,8 +649,12 @@ data _null_; put ' %end; '; put ' %else %do i=1 %to &_webin_file_count; '; put ' /* read in any files that are sent */ '; - put ' /* this part needs refactoring for wide files */ '; - put ' filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; '; + put ' %if &_EXECUTIONTASKS=true %then %do; '; + put ' filename indata "%sysfunc(pathname(&&_webin_fileref&i))" lrecl=999999; '; + put ' %end; '; + put ' %else %do; '; + put ' filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; '; + put ' %end; '; put ' data _null_; '; put ' infile indata termstr=crlf lrecl=32767; '; put ' input; ';