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

fix: fileref option in ms_runstp

This commit is contained in:
munja
2022-05-17 22:27:39 +01:00
parent 43b8ee1c7e
commit 412182a022
2 changed files with 7 additions and 4 deletions

View File

@@ -162,6 +162,7 @@ proc http method='POST' headerin=&authref in=&mainref out=&outref
%end;
run;
%if (&SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 201)
or &mdebug=1
%then %do;
data _null_;infile &outref;input;putlog _infile_;run;
%end;
@@ -177,7 +178,7 @@ options &optval;
%if &outlogds ne _null_ or &mdebug=1 %then %do;
%local dumplib;
%let dumplib=%mf_getuniquelibref();
libname &dumplib json (&outref);
libname &dumplib json fileref=&outref;
data &outlogds;
set &dumplib..log;
%if &mdebug=1 %then %do;
@@ -195,4 +196,4 @@ options &optval;
filename &authref;
filename &mainref;
%end;
%mend ms_runstp;
%mend ms_runstp;