1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-05 16:40:06 +00:00

fix: adding sysmsg() to failed metadata calls

This commit is contained in:
Allan Bowe
2021-09-30 14:32:52 +01:00
parent 0851523d18
commit 5bf87a78b8
5 changed files with 34 additions and 8 deletions

View File

@@ -43,7 +43,11 @@
%let vlen = %str( );
%end;
%end;
%else %put dataset &libds not opened! (rc=&dsid);
%else %do;
%put &sysmacroname: dataset &libds not opened! (rc=&dsid);
%put &sysmacroname: %sysfunc(sysmsg());
%return;
%end;
/* Close dataset */
%let rc = %sysfunc(close(&dsid));