SASUnit Examples
Version 1.5.0
|
This assert checks whether a certain number of records exist in a data set specified by parameters i_libref and i_memname. More...
Go to the source code of this file.
This assert checks whether a certain number of records exist in a data set specified by parameters i_libref and i_memname.
Furthermore a where condition can be specified (if not specified set to 1) as well as the number of expected records in the data set that meet the given where condition.
i_libref | library containing the data set |
i_memname | data set to be tested |
i_operator | optional: logical operator to compare i_recordsExp and l_actual; if not specified "EQ" is assumed as default. |
i_recordsExp | number of records expected: a numeric value >= 0 |
i_where | optional: where condition to be checked. Set to 1 by default. |
i_desc | description of the assertion to be checked default: "Check for a specific number of records" |
Definition in file assertrecordcount.sas.