SASUnit Examples  Version 1.2
assertlibrary.sas File Reference

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

Go to the source code of this file.

Detailed Description

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

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

Please refer to SASUnit User's Guide

Version
$Revision: 129 $
Author
$Author: klandwich $
Date
$Date: 2013-01-29 10:46:03 +0100 (Di, 29 Jan 2013) $
See Also
$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: "Bibliotheken prüfen"
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 exluded 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.