From 356d3644e51ce4db45855da74f785a44fdf3ac38 Mon Sep 17 00:00:00 2001 From: 4gl <@> Date: Tue, 12 May 2026 13:42:37 +0100 Subject: [PATCH] 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 6a5c7e3..22370c2 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;