@sasjs/core 5.2.7 → 5.2.9
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/README.md +2 -1
- package/base/mp_assert.sas +2 -2
- package/base/mp_assertcols.sas +2 -2
- package/base/mp_assertcolvals.sas +2 -2
- package/base/mp_assertdsobs.sas +2 -2
- package/base/mp_assertscope.sas +2 -2
- package/package.json +4 -1
- package/viya/mv_jobflow.sas +4 -1
package/README.md
CHANGED
|
@@ -253,7 +253,7 @@ The following repositories are also worth checking out:
|
|
|
253
253
|
|
|
254
254
|
## Contributors ✨
|
|
255
255
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
256
|
-
[](#contributors-)
|
|
257
257
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
258
258
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
259
259
|
|
|
@@ -282,6 +282,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
282
282
|
</tr>
|
|
283
283
|
<tr>
|
|
284
284
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/andyjessen"><img src="https://avatars.githubusercontent.com/u/62343929?v=4?s=100" width="100px;" alt="andyjessen"/><br /><sub><b>andyjessen</b></sub></a><br /><a href="https://github.com/sasjs/core/commits?author=andyjessen" title="Documentation">📖</a></td>
|
|
285
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Nakaya-Ryo"><img src="https://avatars.githubusercontent.com/u/207527203?v=4?s=100" width="100px;" alt="NAKAYA-Ryo"/><br /><sub><b>NAKAYA-Ryo</b></sub></a><br /><a href="https://github.com/sasjs/core/commits?author=Nakaya-Ryo" title="Code">💻</a> <a href="https://github.com/sasjs/core/commits?author=Nakaya-Ryo" title="Tests">⚠️</a></td>
|
|
285
286
|
</tr>
|
|
286
287
|
</tbody>
|
|
287
288
|
</table>
|
package/base/mp_assert.sas
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@param [in] desc= (Testing observations) The user provided test description
|
|
21
21
|
@param [out] outds= (work.test_results) The output dataset to contain the
|
|
22
22
|
results. If it does not exist, it will be created, with the following format:
|
|
23
|
-
|TEST_DESCRIPTION:$256|TEST_RESULT:$
|
|
23
|
+
|TEST_DESCRIPTION:$256|TEST_RESULT:$5|TEST_COMMENTS:$256|
|
|
24
24
|
|---|---|---|
|
|
25
25
|
|User Provided description|PASS|Dataset &inds contained ALL columns|
|
|
26
26
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
)/*/STORE SOURCE*/;
|
|
36
36
|
|
|
37
37
|
data ;
|
|
38
|
-
length test_result $
|
|
38
|
+
length test_result $5 test_description $256 test_comments $256;
|
|
39
39
|
test_description=symget('desc');
|
|
40
40
|
test_comments="&sysmacroname: Test result of "!!symget('iftrue');
|
|
41
41
|
%if %eval(%unquote(&iftrue)) %then %do;
|
package/base/mp_assertcols.sas
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
@li NONE - Test is a PASS if NONE of the columns exist in &inds
|
|
40
40
|
@param [out] outds= (work.test_results) The output dataset to contain the
|
|
41
41
|
results. If it does not exist, it will be created, with the following format:
|
|
42
|
-
|TEST_DESCRIPTION:$256|TEST_RESULT:$
|
|
42
|
+
|TEST_DESCRIPTION:$256|TEST_RESULT:$5|TEST_COMMENTS:$256|
|
|
43
43
|
|---|---|---|
|
|
44
44
|
|User Provided description|PASS|Dataset &inds contained ALL columns|
|
|
45
45
|
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
%end;
|
|
109
109
|
|
|
110
110
|
data;
|
|
111
|
-
length test_result $
|
|
111
|
+
length test_result $5 test_description $256 test_comments $256;
|
|
112
112
|
test_description=symget('desc');
|
|
113
113
|
if test_description='0'
|
|
114
114
|
then test_description="Testing &inds for existence of &test of: &cols";
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
@li NOVAL - Test is a PASS if there are NO matches in checkvals
|
|
46
46
|
@param [out] outds= (work.test_results) The output dataset to contain the
|
|
47
47
|
results. If it does not exist, it will be created, with the following format:
|
|
48
|
-
|TEST_DESCRIPTION:$256|TEST_RESULT:$
|
|
48
|
+
|TEST_DESCRIPTION:$256|TEST_RESULT:$5|TEST_COMMENTS:$256|
|
|
49
49
|
|---|---|---|
|
|
50
50
|
|User Provided description|PASS|Column &indscol contained ALL target vals|
|
|
51
51
|
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
)
|
|
144
144
|
|
|
145
145
|
data;
|
|
146
|
-
length test_result $
|
|
146
|
+
length test_result $5 test_description $256 test_comments $256;
|
|
147
147
|
test_description=symget('desc');
|
|
148
148
|
test_result='FAIL';
|
|
149
149
|
test_comments="&sysmacroname: &lib..&ds..&col has &result/&orig values "
|
package/base/mp_assertdsobs.sas
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
the provided integer
|
|
26
26
|
@param [out] outds= (work.test_results) The output dataset to contain the
|
|
27
27
|
results. If it does not exist, it will be created, with the following format:
|
|
28
|
-
|TEST_DESCRIPTION:$256|TEST_RESULT:$
|
|
28
|
+
|TEST_DESCRIPTION:$256|TEST_RESULT:$5|TEST_COMMENTS:$256|
|
|
29
29
|
|---|---|---|
|
|
30
30
|
|User Provided description|PASS|Dataset &inds has XX obs|
|
|
31
31
|
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
%end;
|
|
88
88
|
|
|
89
89
|
data &ds;
|
|
90
|
-
length test_result $
|
|
90
|
+
length test_result $5 test_description $256 test_comments $256;
|
|
91
91
|
test_description=symget('desc');
|
|
92
92
|
test_result='FAIL';
|
|
93
93
|
test_comments="&sysmacroname: Dataset &inds has &nobs observations.";
|
package/base/mp_assertscope.sas
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
scope snapshot
|
|
47
47
|
@param [out] outds= (work.test_results) The output dataset to contain the
|
|
48
48
|
results. If it does not exist, it will be created, with the following format:
|
|
49
|
-
|TEST_DESCRIPTION:$256|TEST_RESULT:$
|
|
49
|
+
|TEST_DESCRIPTION:$256|TEST_RESULT:$5|TEST_COMMENTS:$256|
|
|
50
50
|
|---|---|---|
|
|
51
51
|
|User Provided description|PASS|No out of scope variables created or modified|
|
|
52
52
|
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
%end;
|
|
132
132
|
|
|
133
133
|
data ;
|
|
134
|
-
length test_result $
|
|
134
|
+
length test_result $5 test_description $256 test_comments $256;
|
|
135
135
|
test_description=symget('desc');
|
|
136
136
|
test_comments=symget('test_comments');
|
|
137
137
|
test_result=symget('test_result');
|
package/package.json
CHANGED
package/viya/mv_jobflow.sas
CHANGED
|
@@ -339,7 +339,10 @@ data;run;%let jdswaitfor=&syslast;
|
|
|
339
339
|
%let jobpath=
|
|
340
340
|
%substr(&&job&jid,1,%length(&&job&jid)-%length(&jobname)-1);
|
|
341
341
|
|
|
342
|
-
|
|
342
|
+
/* the paramstring holds free-form data - an escaped double quote
|
|
343
|
+
* followed by a single quote reads as an unterminated literal and
|
|
344
|
+
* stops the macro, so mask it */
|
|
345
|
+
%put executing &jobpath/&jobname with paramstring %superq(jparams&jid);
|
|
343
346
|
%mv_jobexecute(path=&jobpath
|
|
344
347
|
,name=&jobname
|
|
345
348
|
,paramstring=%superq(jparams&jid)
|