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

fix: updating mv_getjoblog to deal with endsas'd sessions, and removing endsas from viya mp_abort

This commit is contained in:
Allan Bowe
2021-05-11 18:14:33 +03:00
parent 58a0cce39e
commit 15f903aa42
5 changed files with 213 additions and 56 deletions

View File

@@ -134,9 +134,15 @@
rc=stpsrvset('program error', 0);
call symputx("syscc",0,"g");
run;
endsas;
%end;
%if "%substr(&sysvlong.xxxxxxx,1,9)" ne "9.04.01M3" %then %do;
%else %if "&sysprocessmode " = "SAS Compute Server " %then %do;
/* endsas kills the session making it harder to fetch results */
data _null_;
abort;
run;
%end;
%else %if "%substr(&sysvlong.xxxxxxxxx,1,9)" ne "9.04.01M3" %then %do;
%put NOTE: Ending SAS session due to:;
%put NOTE- &msg;
endsas;