From b9fd79bd5edc07e452920d4742e240f0bfef0bad Mon Sep 17 00:00:00 2001 From: Allan Bowe <> Date: Fri, 25 Dec 2020 16:58:30 +0000 Subject: [PATCH] fix: debugging in mm_assignlib --- all.sas | 1 + meta/mm_assignlib.sas | 1 + 2 files changed, 2 insertions(+) diff --git a/all.sas b/all.sas index d80c6c3a..f4601461 100644 --- a/all.sas +++ b/all.sas @@ -5704,6 +5704,7 @@ run; rc=metadata_getattr(liburi,"Name",LibName); /* now try and assign it */ if libname("&libref",,'meta',cats('liburi="',liburi,'";')) ne 0 then do; + putlog "&libref could not be assigned"; call symputx('msg',sysmsg(),'l'); if "&mabort"='HARD' then call symputx('mp_abort',1,'l'); end; diff --git a/meta/mm_assignlib.sas b/meta/mm_assignlib.sas index d68e2117..047e7984 100755 --- a/meta/mm_assignlib.sas +++ b/meta/mm_assignlib.sas @@ -38,6 +38,7 @@ rc=metadata_getattr(liburi,"Name",LibName); /* now try and assign it */ if libname("&libref",,'meta',cats('liburi="',liburi,'";')) ne 0 then do; + putlog "&libref could not be assigned"; call symputx('msg',sysmsg(),'l'); if "&mabort"='HARD' then call symputx('mp_abort',1,'l'); end;