1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-09 18:30:06 +00:00

fix: removing WARNINGs from code logic

This commit is contained in:
Allan Bowe
2021-05-03 20:28:48 +03:00
parent 7f2ad5fc66
commit ffd2e135dc
17 changed files with 74 additions and 74 deletions

View File

@@ -43,7 +43,7 @@
%local i setds nvars;
%if not %sysfunc(exist(&base_ds)) %then %do;
%put WARNING: &base_ds does not exist;
%put %str(WARN)ING: &base_ds does not exist;
%return;
%end;
@@ -61,7 +61,7 @@ select count(*) into: nvars from dictionary.columns
where libname="%scan(%upcase(&base_ds),1)"
and memname="%scan(%upcase(&base_ds),2)";
%if &nvars=0 %then %do;
%put WARNING: Dataset &base_ds has no variables! It will not be converted.;
%put %str(WARN)ING: Dataset &base_ds has no variables, will not be converted.;
%return;
%end;