Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mp_assert.test.1.sas File Reference

Testing mp_assert macro. More...

Go to the source code of this file.

Detailed Description

The results dataset is shared. Packages built on these assertion macros append their own statuses to work.test_results, and a status can be longer than PASS or FAIL - CHECK, for example, is used to flag an item for review. When such a package appends to a results dataset created with a shorter column, PROC APPEND refuses the rows outright:

WARNING: Variable test_result has different lengths on BASE and DATA files ERROR: No appending done because of anomalies listed above.

so the column must be wide enough for the longer status.

SAS Macros

Definition in file mp_assert.test.1.sas.