mirror of
https://github.com/sasjs/core.git
synced 2026-01-05 00:20:05 +00:00
fix: all
This commit is contained in:
26
all.sas
26
all.sas
@@ -1644,6 +1644,8 @@ Usage:
|
|||||||
%macro mp_abort(mac=mp_abort.sas, type=, msg=, iftrue=%str(1=1)
|
%macro mp_abort(mac=mp_abort.sas, type=, msg=, iftrue=%str(1=1)
|
||||||
)/*/STORE SOURCE*/;
|
)/*/STORE SOURCE*/;
|
||||||
|
|
||||||
|
%global sysprocessmode sysprocessname;
|
||||||
|
|
||||||
%if not(%eval(%unquote(&iftrue))) %then %return;
|
%if not(%eval(%unquote(&iftrue))) %then %return;
|
||||||
|
|
||||||
%put NOTE: /// mp_abort macro executing //;
|
%put NOTE: /// mp_abort macro executing //;
|
||||||
@@ -1651,9 +1653,7 @@ Usage:
|
|||||||
%put NOTE - &msg;
|
%put NOTE - &msg;
|
||||||
|
|
||||||
/* Stored Process Server web app context */
|
/* Stored Process Server web app context */
|
||||||
%if %symexist(_metaperson)
|
%if %symexist(_metaperson) or "&SYSPROCESSNAME"="Compute Server" %then %do;
|
||||||
or (%symexist(SYSPROCESSNAME) and "&SYSPROCESSNAME"="Compute Server" )
|
|
||||||
%then %do;
|
|
||||||
options obs=max replace nosyntaxcheck mprint;
|
options obs=max replace nosyntaxcheck mprint;
|
||||||
/* extract log errs / warns, if exist */
|
/* extract log errs / warns, if exist */
|
||||||
%local logloc logline;
|
%local logloc logline;
|
||||||
@@ -1748,14 +1748,13 @@ Usage:
|
|||||||
if debug ge '"131"' then put '>>weboutEND<<';
|
if debug ge '"131"' then put '>>weboutEND<<';
|
||||||
run;
|
run;
|
||||||
|
|
||||||
data _null_;
|
%if "&sysprocessmode " = "SAS Stored Process Server " %then %do;
|
||||||
if symexist('sysprocessmode') then
|
data _null_;
|
||||||
if symget("sysprocessmode")="SAS Stored Process Server" then do;
|
putlog 'stpsrvset program error and syscc';
|
||||||
putlog 'stpsrvset program error and syscc';
|
rc=stpsrvset('program error', 0);
|
||||||
rc=stpsrvset('program error', 0);
|
call symputx("syscc",0,"g");
|
||||||
call symputx("syscc",0,"g");
|
run;
|
||||||
end;
|
%end;
|
||||||
run;
|
|
||||||
|
|
||||||
%if "%substr(&sysvlong.xxxxxxx,1,9)" ne "9.04.01M3" %then %do;
|
%if "%substr(&sysvlong.xxxxxxx,1,9)" ne "9.04.01M3" %then %do;
|
||||||
%put NOTE: Ending SAS session due to:;
|
%put NOTE: Ending SAS session due to:;
|
||||||
@@ -1774,7 +1773,10 @@ Usage:
|
|||||||
filename skip temp;
|
filename skip temp;
|
||||||
data _null_;
|
data _null_;
|
||||||
file skip;
|
file skip;
|
||||||
put '%macro skip(); %macro skippy();';
|
put '%macro skip();';
|
||||||
|
comment '%mend skip; -> fix lint ';
|
||||||
|
put '%macro skippy();';
|
||||||
|
comment '%mend skippy; -> fix lint ';
|
||||||
run;
|
run;
|
||||||
%inc skip;
|
%inc skip;
|
||||||
%end;
|
%end;
|
||||||
|
|||||||
Reference in New Issue
Block a user