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

fix: Non-stp propagation of syscc

This commit is contained in:
Trevor Moody
2021-05-10 12:42:36 +01:00
parent 6fc8408988
commit db2531e0b3

View File

@@ -125,12 +125,13 @@
if debug ge '"131"' then put '>>weboutEND<<'; if debug ge '"131"' then put '>>weboutEND<<';
run; run;
%let syscc=0;
%if %symexist(_metaport) %then %do; %if %symexist(_metaport) %then %do;
data _null_; data _null_;
if symexist('sysprocessmode') if symexist('sysprocessmode') then
then if symget("sysprocessmode")="SAS Stored Process Server" if symget("sysprocessmode")="SAS Stored Process Server" then do;
then rc=stpsrvset('program error', 0); rc=stpsrvset('program error', 0);
call symputx("syscc",0,"g");
end;
run; run;
%end; %end;
/** /**