1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-11 06:24:35 +00:00

fix: macro param and extra log info in mp_csv2ds

This commit is contained in:
2020-11-03 09:43:47 +01:00
parent cafffbb509
commit d51be73017
2 changed files with 4 additions and 4 deletions

View File

@@ -1935,7 +1935,7 @@ Usage:
@author Allan Bowe
**/
%macro mp_csv2ds(inref=0,outds=0,baseds=0);
%macro mp_csv2ds(inref=0,outds=0,baseds=0,view=NO);
%if &inref=0 %then %do;
%put %str(ERR)OR: the INREF variable must be provided;
%let syscc=4;
@@ -1952,7 +1952,7 @@ Usage:
%return;
%end;
%if %sysfunc(exist(&BASEDS)) ne 1 & %sysfunc(exist(&BASEDS,VIEW)) ne 1 %then %do;
%put %str(ERR)OR: the BASEDS dataset needs to be assigned, and to exist;
%put %str(ERR)OR: the BASEDS dataset (&baseds) needs to be assigned, and to exist;
%let syscc=4;
%return;
%end;

View File

@@ -30,7 +30,7 @@
@author Allan Bowe
**/
%macro mp_csv2ds(inref=0,outds=0,baseds=0);
%macro mp_csv2ds(inref=0,outds=0,baseds=0,view=NO);
%if &inref=0 %then %do;
%put %str(ERR)OR: the INREF variable must be provided;
%let syscc=4;
@@ -47,7 +47,7 @@
%return;
%end;
%if %sysfunc(exist(&BASEDS)) ne 1 & %sysfunc(exist(&BASEDS,VIEW)) ne 1 %then %do;
%put %str(ERR)OR: the BASEDS dataset needs to be assigned, and to exist;
%put %str(ERR)OR: the BASEDS dataset (&baseds) needs to be assigned, and to exist;
%let syscc=4;
%return;
%end;