Skip to content

Commit

Permalink
fix: debugging in mm_assignlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Bowe committed Dec 25, 2020
1 parent 1beb30d commit b9fd79b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions all.sas
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions meta/mm_assignlib.sas
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b9fd79b

Please sign in to comment.