Forums: Define.xml
"Num" and "Char" are invalid values for the XML DataType in the define.xml.
Valid values are 'integer', 'float', 'date', 'datetime', 'time', or 'text'.
Study day is "integer".
Adding to Lex's comments, here is your reference from the newly "finalized" CDISC SDTM Metadata Submission Guidelines (MSG) v1.0 on cdisc.org:
Section 3.3.2, Table 3.3.2.1, pg. 11
Also, attention should be given to setting the proper values to the Length and SignificantDigits attributes when DataType="integer" or "float".
SD0059 Define.xml/dataset variable type mismatch
The above rule give us an error for the define.xml for any numeric data type, we have ‘Num’ in our define.xml.
Here is an example:
<ItemDef OID="BG.BGENDY" Name="BGENDY" DataType="Num" Origin="OTHER" Comment="" def:Label="Study Day of End of Weight Interval" Length="1">
</ItemDef>
In the BG.XPT file, the BGENDY is of type Numeric, In SAS xpt file, there will be only two types:
/* VARIABLE TYPE: 1=NUMERIC, 2=CHAR */
I am wondering why this Num generate a validation error? What is expected here? DataType="float"?
On the other hander, all those character string variables with DataType="Char" does not have any errors or warnings.
Thanks,