Informix Error Messages and Error Codes From Error 1213 to 1217
Informix Error Code -1213 A character to numeric conversion process failed.
A character value is being converted to numeric form for storage in a numeric column or variable. However, the character string cannot be interpreted as a number. It contains some characters other than white space, digits, a sign, a decimal, or the letter e; or the parts are in the wrong order, so the number cannot be deciphered.
If you are using NLS, the decimal character or thousands separator might be wrong for your locale.
Informix Error Code -1214 Value too large to fit in a SMALLINT.
The SMALLINT data type can accept numbers with absolute values from 0 through 32,767 (plus or minus (2 to the 15th power) – 1). To store numbers that are outside this range, redefine the column or variable to use INTEGER or DECIMAL type. (The value -32,768 is a 16-bit value but is not acceptable; it indicates a null value in 4GL.)
Informix Error Code -1215 Value too large to fit in an INTEGER.
The INTEGER data type can accept numbers with absolute values from 0 to 2,147,483,647 (plus or minus (2 to the 31st power) – 1). To store numbers that are outside this range, redefine the column or variable to use DECIMAL type. (The value -2,147,483,648 is a 32-bit value but is not acceptable; it indicates a null value in 4GL.)
Informix Error Code -1216 Illegal exponent.
The exponent of a numeric literal cannot exceed 32,767. In fact, none of the available data types can accommodate an exponent that large. However, the exponent itself triggers this message before checking the destination of the number. Check the statement for missing or misplaced punctuation that might have caused two numbers to run together.
Informix Error Code -1217 The format string is too large.
The pattern string that is used to format a date (either the DBDATE environment variable or the pattern that is passed to rfmtdate() or the USING function) is too long. The limit is 80 bytes.
Above are list of Informix Error Messages and Errors Codes or Status Codes or Exit Codes along with Error and Warning messages received while performing certain operation against Informix applications or related products.
What are Informix Error Messages?
All Informix messages returned by the Informix server are assigned an error code.
In general, each Informix error contains the following information:
• The Informix Error Code or Informix Error status
• The message text. This text is usually returned with the Error code. Some messages employ word substitution, where the word substituted represents the system-replacement of a term more specific to the occurrence.
• An explanation of how the error may have occurred.
Hope this was helpful.
Information about Informix Error Codes or Status Codes or Exit Codes and Error Messages on Windows, Linux Operating Systems.