mirror of
https://github.com/sasjs/core.git
synced 2026-01-15 12:30:06 +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:
@@ -126,7 +126,7 @@ data _null_;
|
|||||||
uri=symget('uri');
|
uri=symget('uri');
|
||||||
if length(uri)<12 then do;
|
if length(uri)<12 then do;
|
||||||
call symputx('errflg',1);
|
call symputx('errflg',1);
|
||||||
call symputx('errmsg',"URI is invalid (too short) - '&uri'",'l');
|
call symputx('errmsg',"URI is too short - "!!uri,'l');
|
||||||
end;
|
end;
|
||||||
if scan(uri,-1)='state' or scan(uri,1) ne 'jobExecution' then do;
|
if scan(uri,-1)='state' or scan(uri,1) ne 'jobExecution' then do;
|
||||||
call symputx('errflg',1);
|
call symputx('errflg',1);
|
||||||
@@ -191,7 +191,7 @@ data _null_;
|
|||||||
uri=symget('loglocation');
|
uri=symget('loglocation');
|
||||||
if length(uri)<12 then do;
|
if length(uri)<12 then do;
|
||||||
call symputx('errflg',1);
|
call symputx('errflg',1);
|
||||||
call symputx('errmsg',"URI is invalid (too short) - '&uri'",'l');
|
call symputx('errmsg',"URI is too short - "!!uri,'l');
|
||||||
end;
|
end;
|
||||||
else if (scan(uri,1,'/') ne 'compute' or scan(uri,2,'/') ne 'sessions')
|
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')
|
and (scan(uri,1,'/') ne 'files' or scan(uri,2,'/') ne 'files')
|
||||||
|
|||||||
@@ -188,6 +188,8 @@
|
|||||||
%if %mf_existvarList(&inds,FLOW_ID)=0 %then %do;
|
%if %mf_existvarList(&inds,FLOW_ID)=0 %then %do;
|
||||||
retain FLOW_ID 0;
|
retain FLOW_ID 0;
|
||||||
%end;
|
%end;
|
||||||
|
/* https://github.com/sasjs/adapter/pull/845#issuecomment-2956589644 */
|
||||||
|
retain _omitSessionResults "false";
|
||||||
set &inds;
|
set &inds;
|
||||||
&dbg. putlog (_all_)(=);
|
&dbg. putlog (_all_)(=);
|
||||||
run;
|
run;
|
||||||
|
|||||||
Reference in New Issue
Block a user