mirror of
https://github.com/sasjs/core.git
synced 2026-01-05 00:20:05 +00:00
fix: debugging in mm_assignlib
This commit is contained in:
1
all.sas
1
all.sas
@@ -5704,6 +5704,7 @@ run;
|
|||||||
rc=metadata_getattr(liburi,"Name",LibName);
|
rc=metadata_getattr(liburi,"Name",LibName);
|
||||||
/* now try and assign it */
|
/* now try and assign it */
|
||||||
if libname("&libref",,'meta',cats('liburi="',liburi,'";')) ne 0 then do;
|
if libname("&libref",,'meta',cats('liburi="',liburi,'";')) ne 0 then do;
|
||||||
|
putlog "&libref could not be assigned";
|
||||||
call symputx('msg',sysmsg(),'l');
|
call symputx('msg',sysmsg(),'l');
|
||||||
if "&mabort"='HARD' then call symputx('mp_abort',1,'l');
|
if "&mabort"='HARD' then call symputx('mp_abort',1,'l');
|
||||||
end;
|
end;
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
rc=metadata_getattr(liburi,"Name",LibName);
|
rc=metadata_getattr(liburi,"Name",LibName);
|
||||||
/* now try and assign it */
|
/* now try and assign it */
|
||||||
if libname("&libref",,'meta',cats('liburi="',liburi,'";')) ne 0 then do;
|
if libname("&libref",,'meta',cats('liburi="',liburi,'";')) ne 0 then do;
|
||||||
|
putlog "&libref could not be assigned";
|
||||||
call symputx('msg',sysmsg(),'l');
|
call symputx('msg',sysmsg(),'l');
|
||||||
if "&mabort"='HARD' then call symputx('mp_abort',1,'l');
|
if "&mabort"='HARD' then call symputx('mp_abort',1,'l');
|
||||||
end;
|
end;
|
||||||
|
|||||||
Reference in New Issue
Block a user