1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-18 14:00:05 +00:00

fix: ensuring acceptable casing of _omitSessionResults

More info: https://communities.sas.com/t5/SAS-Viya/Returning-webout-from-JES-API/td-p/966992
This commit is contained in:
allan
2025-06-09 20:58:05 +01:00
parent 6dbfd32dba
commit bcb93e62d4
2 changed files with 4 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ data _null_;
uri=symget('uri');
if length(uri)<12 then do;
call symputx('errflg',1);
call symputx('errmsg',"URI is invalid (too short) - '&uri'",'l');
call symputx('errmsg',"URI is too short - "!!uri,'l');
end;
if scan(uri,-1)='state' or scan(uri,1) ne 'jobExecution' then do;
call symputx('errflg',1);
@@ -191,7 +191,7 @@ data _null_;
uri=symget('loglocation');
if length(uri)<12 then do;
call symputx('errflg',1);
call symputx('errmsg',"URI is invalid (too short) - '&uri'",'l');
call symputx('errmsg',"URI is too short - "!!uri,'l');
end;
else if (scan(uri,1,'/') ne 'compute' or scan(uri,2,'/') ne 'sessions')
and (scan(uri,1,'/') ne 'files' or scan(uri,2,'/') ne 'files')