@sasjs/core 5.2.9 → 5.2.10
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.
- package/base/mp_assertcols.sas +4 -2
- package/package.json +1 -1
package/base/mp_assertcols.sas
CHANGED
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
@param [in] desc= (0) The user provided test description
|
|
36
36
|
@param [in] test= (ALL) The test to apply. Valid values are:
|
|
37
37
|
@li ALL - Test is a PASS if ALL columns exist in &inds
|
|
38
|
-
@li ANY - Test is a PASS if ANY of the columns exist in &inds
|
|
38
|
+
@li ANY - Test is a PASS if ANY of the columns exist in &inds - including
|
|
39
|
+
when all of them do
|
|
39
40
|
@li NONE - Test is a PASS if NONE of the columns exist in &inds
|
|
40
41
|
@param [out] outds= (work.test_results) The output dataset to contain the
|
|
41
42
|
results. If it does not exist, it will be created, with the following format:
|
|
@@ -121,7 +122,8 @@
|
|
|
121
122
|
%end;
|
|
122
123
|
%end;
|
|
123
124
|
%else %if &test=ANY %then %do;
|
|
124
|
-
|
|
125
|
+
/* SOME or ALL - if every column exists then any of them does too */
|
|
126
|
+
%if &result ne NONE %then %do;
|
|
125
127
|
test_result='PASS';
|
|
126
128
|
%end;
|
|
127
129
|
%end;
|
package/package.json
CHANGED