Datatype Validation Rules

The Attribute, parameter, and argument datatype validation rules table describes validation rules for Mobile Business Object (MBO) length, and precision and scale datatypes.

Table 1. Attribute, parameter, and argument datatype validation rules
Type and Entity Feature Validation rules/Action
GUI: Attribute, parameter, or argument Length

Only specific datatypes (string, decimal, float, double, binary) support “Length”.

The length of the parameter/attribute cannot be larger than its mapped-to argument/column.
Model: Parameter or argument Default value The default value cannot exceed the size defined in its “Length.” The decimal default value cannot exceed the the “Precision” and “Scale” if defined.
Model: Parameter or argument Length/Precision The ''Filter by'' parameter's maximum length must be the same as the "Fill from attribute's."

Data length of the parameter cannot be shorter than that of the "Fill from attribute."

Model: Device link Length/Precision The data length/precision of the target element cannot be shorter than that of the source.
Note: There are no error or warning messages generated for invalid entries (entered in the GUI), instead the input is erased and rolled back to its last valid value.


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com