@sasjs/core 4.4.6 → 4.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,10 @@
59
59
  %&mD.put Executing &sysmacroname..sas;
60
60
  %&mD.put _local_;
61
61
 
62
- %mf_verifymacvars(tree name)
62
+ %mp_abort(iftrue= (%mf_verifymacvars(tree name)=0)
63
+ ,mac=&sysmacroname
64
+ ,msg=%str(Empty inputs: tree name)
65
+ )
63
66
 
64
67
  /**
65
68
  * check tree exists
@@ -47,7 +47,10 @@
47
47
  %&mD.put Executing &sysmacroname..sas;
48
48
  %&mD.put _local_;
49
49
 
50
- %mf_verifymacvars(tree name)
50
+ %mp_abort(iftrue= (%mf_verifymacvars(tree name)=0)
51
+ ,mac=&sysmacroname
52
+ ,msg=%str(Empty inputs: tree name)
53
+ )
51
54
 
52
55
  /**
53
56
  * check tree exists
@@ -133,12 +133,14 @@ run;
133
133
  filename &frefin temp;
134
134
  filename &frefout temp;
135
135
 
136
- %if &engine=BASE %then %do;
137
-
138
- %mf_verifymacvars(libname libref engine servercontext tree)
139
-
140
-
136
+ %mp_abort(iftrue= (
137
+ &engine=BASE & %mf_verifymacvars(libname libref engine servercontext tree)=0
138
+ )
139
+ ,mac=&sysmacroname
140
+ ,msg=%str(Empty inputs: libname libref engine servercontext tree)
141
+ )
141
142
 
143
+ %if &engine=BASE %then %do;
142
144
  /**
143
145
  * Check that the ServerContext exists
144
146
  */
@@ -108,7 +108,12 @@
108
108
  %&mD.put Executing mm_CreateSTP.sas;
109
109
  %&mD.put _local_;
110
110
 
111
- %mf_verifymacvars(stpname filename directory tree)
111
+ %mp_abort(
112
+ iftrue=(%mf_verifymacvars(stpname filename directory tree)=0)
113
+ ,mac=&sysmacroname
114
+ ,msg=%str(Empty inputs: stpname filename directory tree)
115
+ )
116
+
112
117
  %mp_dropmembers(%scan(&outds,2,.))
113
118
 
114
119
  /**
package/package.json CHANGED
@@ -36,5 +36,5 @@
36
36
  "@sasjs/cli": "3.6.0",
37
37
  "@sasjs/core": "4.4.4"
38
38
  },
39
- "version": "4.4.6"
39
+ "version": "4.4.7"
40
40
  }