Column Name
|
Column Description
|
---|---|
StandardName
|
Standard Name
|
StandardVersion
|
Standard Version
|
MetadataLib
|
Metadata Library
|
DataLib
|
Data Library
|
XPTFolder
|
XPORT Folder
|
Table
|
Table
|
Column
|
Column
|
Issue
|
Issue
|
define_value
|
Define Value
|
data_value
|
SAS Value
|
Comment
|
Comment
|
Issue Column Keyword
|
Meaning
|
---|---|
DSLABEL
|
The data set label does
not match the data set description in the Define-XML metadata.
|
LABEL
|
The variable label does
not match the variable description in the Define-XML metadata.
|
DEFINE_COLUMN
|
The Define-XML metadata
defines a variable that is not in the data set.
|
DATA_COLUMN
|
A data set column does
not have a definition in the Define-XML metadata.
|
LENGTH
|
Inconsistencies exist
between the length of the SAS variable and the length defined in the
Define-XML metadata.
Note: This check is performed only
for SAS character variables because the definition of the length of
a numerical variable is not compatible between SAS and Define-XML.
|
TYPE
|
Inconsistencies exist
between the type of the SAS variable and the DataType defined in the
Define-XML metadata.
|
%cst_setStandardProperties(_cstStandard=CST-FRAMEWORK,_cstSubType=initialize); %cstutil_setcstsroot; %let studyRootPath=&_cstSRoot/cdisc-crtdds-1.0-&_cstVersion; %let studyOutputPath=&_cstSRoot/cdisc-crtdds-1.0-&_cstVersion; filename srcdata "&studyRootPath/transport"; libname srcmeta "&studyRootPath/data"; libname results "&studyOutputPath/results"; %cstutilcomparemetadatasasdefine( _cstSourceXPTFolder=%sysfunc(pathname(srcdata)), _cstSourceMetadataLibrary=srcmeta, _cstRptDS=results.compare_metadata_results );
sample study library directory\cdisc-crtdds-1.0-1.7\programs\compare_metadata_sascrtdds_xpt.sas
%cst_setStandardProperties(_cstStandard=CST-FRAMEWORK,_cstSubType=initialize); %cstutil_setcstsroot; %let studyRootPath=&_cstSRoot/cdisc-crtdds-1.0-&_cstVersion; %let studyOutputPath=&_cstSRoot/cdisc-crtdds-1.0-&_cstVersion; filename srcdata "&studyRootPath/transport"; libname srcmeta "&studyRootPath/data"; libname results "&studyOutputPath/results"; %cstutilcomparemetadatasasdefine( _cstSourceXPTFolder=%sysfunc(pathname(srcdata)), _cstSourceMetadataLibrary=srcmeta, _cstRptDS=results.compare_metadata_results );
sample study library directorycdisc-definexml-2.0.0-1.7\programs\compare_metadata_sasdefine_xpt.sas