From 1c873afe573cede1c69d4214763091f95ec8a287 Mon Sep 17 00:00:00 2001 From: vrh Date: Thu, 3 Sep 2020 16:29:21 +0200 Subject: [PATCH] fix: base_uri for mv_deletejes --- all.sas | 4 ++-- viya/mv_deletejes.sas | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/all.sas b/all.sas index ba497b6..879f189 100644 --- a/all.sas +++ b/all.sas @@ -10703,7 +10703,7 @@ run; libname &libref1 JSON fileref=&fname1; data _null_; set &libref1..links; - if rel='members' then call symputx('mref',quote(trim(href)),'l'); + if rel='members' then call symputx('mref',quote("&base_uri"!!trim(href)),'l'); run; /* get the children */ @@ -10725,7 +10725,7 @@ libname &libref1a JSON fileref=&fname1a; data _null_; set &libref1a..items; if contenttype='jobDefinition' and upcase(name)="%upcase(&name)" then do; - call symputx('uri',uri,'l'); + call symputx('uri',cats("&base_uri",uri),'l'); call symputx('found',1,'l'); end; run; diff --git a/viya/mv_deletejes.sas b/viya/mv_deletejes.sas index cb4d03d..65cad20 100644 --- a/viya/mv_deletejes.sas +++ b/viya/mv_deletejes.sas @@ -95,7 +95,7 @@ run; libname &libref1 JSON fileref=&fname1; data _null_; set &libref1..links; - if rel='members' then call symputx('mref',quote(trim(href)),'l'); + if rel='members' then call symputx('mref',quote("&base_uri"!!trim(href)),'l'); run; /* get the children */ @@ -117,7 +117,7 @@ libname &libref1a JSON fileref=&fname1a; data _null_; set &libref1a..items; if contenttype='jobDefinition' and upcase(name)="%upcase(&name)" then do; - call symputx('uri',uri,'l'); + call symputx('uri',cats("&base_uri",uri),'l'); call symputx('found',1,'l'); end; run;