XSDTotalDigits
Define the maximum number of digits allowed on a numeric data type, fraction part inclusive if
there is one.
- The total digits value cannot be equal to or lower then 0.
- On a BDL decimal, the total digits value cannot be lower than the precision of the BDL decimal itself.
- Notice that a decimal without any precision and scale value is a decimal(16), therefore the total digits value must be equal to or greater than 16.
Example
DEFINE myCode SMALLINT ATTRIBUTES(XSDShort, XSDTotalDigits="4",
XSDMaxExclusive="1000", XMLName="MyCode")
DEFINE myRate DECIMAL(4,2) ATTRIBUTES(XSDDecimal, XSDTotalDigits="5",
XSDMaxExclusive="299.99", XMLName="MyRate")