From 18be74a1c28e98deb09ba846571b871f8cf5eca0 Mon Sep 17 00:00:00 2001 From: rafgag <69139928+rafgag@users.noreply.github.com> Date: Thu, 8 Apr 2021 09:03:05 +0200 Subject: [PATCH] Update mp_jsonout.sas mod option added to the file statement in the last %else %if statement (&action=CLOSE) to avoid output file being overwritten --- base/mp_jsonout.sas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/mp_jsonout.sas b/base/mp_jsonout.sas index 3b12e85..403cea8 100644 --- a/base/mp_jsonout.sas +++ b/base/mp_jsonout.sas @@ -165,8 +165,8 @@ %end; %else %if &action=CLOSE %then %do; - data _null_;file &jref encoding='utf-8'; + data _null_;file &jref encoding='utf-8' mod; put "}"; run; %end; -%mend; \ No newline at end of file +%mend;