SASUnit Examples
Version 1.5.0
|
Checks whether a set of columns can be used as primary key for the data set. More...
Go to the source code of this file.
Checks whether a set of columns can be used as primary key for the data set.
i_Library | library of data set treated as master table |
i_Dataset | member name of data set treated as master table |
i_Variables | variables of the data set, that should be used as key. Multiple variables have to be separated by blank |
i_desc | a description of the test default: "Check for primary key" |
o_maxReportObs | optional: maximum number of records to be listed where lookup failed. By default set to MAX |
o_listingVars | additional variables from master dataset to be listed. Additional variables have to be separated by blanks |
o_treatMissings | optional: Handling of missing values in the master data set: Possible parameters are IGNORE, DISALLOW, VALUE(default) |
Definition in file assertprimarykey.sas.