Previous Topic: DDOL000507CNext Topic: DDOL000509A


DDOL000508A

BAD DEFAULT VALUE

Reason:

A default value was specified on a simple FIELD entity-occurrence with DEFAULT-INSERT=0, but the value is inconsistent with the data type for the FIELD entity-occurrence. If the FIELD entity-occurrence is defined as variable character data type, you may have entered more data than the length specified in the VALUE attribute. For example, if the VALUE attribute specifies 03xxxx where 03 is the length of data to follow and xxxx is the actual data, there is conflict because three characters are specified but four characters were actually entered.

You also can receive this error if you have a semantic-type of SQL-DATE or SQL-TIME and either the date or time is not keyed correctly in one of the four formats specified in your documentation.

Action:

Correct the attribute-value for DEFAULT-INSERT or change the data type value.