SASUnit Examples  Version 1.5.0
assertlibrary.sas File Reference

Check whether all files are identical in the libraries i_expected and i_actual. More...

Go to the source code of this file.

Detailed Description

Check whether all files are identical in the libraries i_expected and i_actual.

The comparison report is created later, as PROC REPORT does not support ODS Document.

Version
$Revision: 316 $
Author
$Author: akirchmann $
Date
$Date: 2014-03-02 10:20:58 +0100 (So, 02 Mrz 2014) $
See Also
For further information please refer to SASUnit User's Guide Here you can find the SASUnit documentation, release notes and license information.
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/assertlibrary.sas $
Parameters
i_actuallibrary with created files
i_expectedlibrary with expected files
i_descdescription of the assertion to be checked
default value: "Compare libraries"
i_LibraryCheckstringency of the library check:
STRICT (default) -> Contents of libraries have to be identical.
MORETABLES -> Library i_actual is allowed to have more tables as library i_expected.
i_CompareCheckstringency of the table check:
STRICT (default) -> Tables have to be identical.
MORECOLUMNS -> Tables in library i_actual are allowed to have more columns as tables in library i_expected.
MOREOBS -> Tables in library i_actual are allowed to have more rows as tables in library i_expected.
MORECOLSNOBS -> Tables in library i_actual are allowed to have more columns and to have more rows as tables in library i_expected.
i_fuzzoptional: maximal deviation of expected and actual values, only for numerical values
i_idoptional: Id-column for matching of observations
i_ExcludeListoptional: Names of files to be excluded from the comparison.
Returns
ODS documents with the contents of the libraries and a SAS file with the comparison result.

Definition in file assertlibrary.sas.