1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 14:04:36 +00:00

fix: returned the overzealous removal of &outds creation

This commit is contained in:
Trevor Moody
2025-11-19 01:42:23 +00:00
parent 6008db999c
commit 9bf2870357

View File

@@ -258,6 +258,17 @@ run;
,msg=%str(&SYS_PROCHTTP_STATUS_CODE &SYS_PROCHTTP_STATUS_PHRASE)
)
%local libref2;
%let libref2=%mf_getuniquelibref();
libname &libref2 JSON fileref=&fname1;
/* Grab the follow on link */
data &outds;
set &libref2..links end=last;
if rel='createChild' then do;
&dbg put (_all_)(=);
end;
run;
/* URI of the created file */
%let fileuri=%trim(%mfv_getpathuri(&path/&name));
@@ -314,6 +325,7 @@ run;
/* clear refs */
filename &fname1 clear;
filename &fref clear;
libname &libref2 clear;
%end;
%mp_abort(