1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-09 02:10:06 +00:00

Merge pull request #23 from tmoody/fix/non_stp_syscc_propagation

fix: Non-stp propagation of syscc
This commit is contained in:
Allan Bowe
2021-05-10 14:58:04 +03:00
committed by GitHub

View File

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