mirror of
https://github.com/sasjs/core.git
synced 2026-01-20 15:00:05 +00:00
fix: fileref option in ms_runstp
This commit is contained in:
6
all.sas
6
all.sas
@@ -20795,6 +20795,7 @@ proc http method='POST' headerin=&authref in=&mainref out=&outref
|
|||||||
%end;
|
%end;
|
||||||
run;
|
run;
|
||||||
%if (&SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 201)
|
%if (&SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 201)
|
||||||
|
or &mdebug=1
|
||||||
%then %do;
|
%then %do;
|
||||||
data _null_;infile &outref;input;putlog _infile_;run;
|
data _null_;infile &outref;input;putlog _infile_;run;
|
||||||
%end;
|
%end;
|
||||||
@@ -20810,7 +20811,7 @@ options &optval;
|
|||||||
%if &outlogds ne _null_ or &mdebug=1 %then %do;
|
%if &outlogds ne _null_ or &mdebug=1 %then %do;
|
||||||
%local dumplib;
|
%local dumplib;
|
||||||
%let dumplib=%mf_getuniquelibref();
|
%let dumplib=%mf_getuniquelibref();
|
||||||
libname &dumplib json (&outref);
|
libname &dumplib json fileref=&outref;
|
||||||
data &outlogds;
|
data &outlogds;
|
||||||
set &dumplib..log;
|
set &dumplib..log;
|
||||||
%if &mdebug=1 %then %do;
|
%if &mdebug=1 %then %do;
|
||||||
@@ -20828,7 +20829,8 @@ options &optval;
|
|||||||
filename &authref;
|
filename &authref;
|
||||||
filename &mainref;
|
filename &mainref;
|
||||||
%end;
|
%end;
|
||||||
%mend ms_runstp;/**
|
%mend ms_runstp;
|
||||||
|
/**
|
||||||
@file
|
@file
|
||||||
@brief Will execute a SASjs web service on SASjs Server
|
@brief Will execute a SASjs web service on SASjs Server
|
||||||
@details Prepares the input files and retrieves the resulting datasets from
|
@details Prepares the input files and retrieves the resulting datasets from
|
||||||
|
|||||||
@@ -162,6 +162,7 @@ proc http method='POST' headerin=&authref in=&mainref out=&outref
|
|||||||
%end;
|
%end;
|
||||||
run;
|
run;
|
||||||
%if (&SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 201)
|
%if (&SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 201)
|
||||||
|
or &mdebug=1
|
||||||
%then %do;
|
%then %do;
|
||||||
data _null_;infile &outref;input;putlog _infile_;run;
|
data _null_;infile &outref;input;putlog _infile_;run;
|
||||||
%end;
|
%end;
|
||||||
@@ -177,7 +178,7 @@ options &optval;
|
|||||||
%if &outlogds ne _null_ or &mdebug=1 %then %do;
|
%if &outlogds ne _null_ or &mdebug=1 %then %do;
|
||||||
%local dumplib;
|
%local dumplib;
|
||||||
%let dumplib=%mf_getuniquelibref();
|
%let dumplib=%mf_getuniquelibref();
|
||||||
libname &dumplib json (&outref);
|
libname &dumplib json fileref=&outref;
|
||||||
data &outlogds;
|
data &outlogds;
|
||||||
set &dumplib..log;
|
set &dumplib..log;
|
||||||
%if &mdebug=1 %then %do;
|
%if &mdebug=1 %then %do;
|
||||||
|
|||||||
Reference in New Issue
Block a user