%sdtmcheckutil_recordlookup(_cstSourceDS=&_cstDSName,
_cstSourceLib=&_cstRefOnly);
[ Exposure: internal
] [ Macro type: SDTM Validation Check Utility ]
sdtmcheckutil_recordlookup
Creates work._cstproblems
that contains any records that are included in the _cstSourceDS data
set that cannot be found in the referenced lookup data set. For example,
SUPPAE includes a record that points to a record in the AE domain
that does not exist with the key values specified.
Note: This macro is called in _cstCodeLogic
at a SAS DATA step level (that is, a full DATA step or PROC SQL invocation).
Required global macro
variables: (none)
-
_cstSourceDS: The source data set
that is evaluated by the validation check.
-
_cstSourceLib: The source libref
for the lookup domain.
File: sdtmcheckutil_recordlookup.sas