Database Error Messages

KUP-03993

invalid size for binary length number specified for field string

Cause

The data type for the field was VARCHAR or VARRAW. Each instance of theses data types starts with a binary field containing the length of the data for the field. The default size of this binary length was 2 bytes. However, the access parameters can specify a different length. The valid lengths are 1, 2, 4 and 8 bytes.


Action

Make sure the access parameters have the correct size specified for the length component of these data types. Also, verify that the size is specified in binary and not in numeric characters. If the size is specified as numeric characters, then use the corresponding data types that use character sizes. These are VARCHARC and VARRAWC.