Informix Error Messages and Error Codes From Error 1200 to 1206

SQLServerF1

Informix Error Code -1200 Number is too large for a DECIMAL data type.
The float DECIMAL data type accommodates numbers from 10 to the -130th power through 10 to the 124th power in absolute value. The precision (number of significant digits) varies from 1 to 32; however, the source of this error is not the length of the number but its magnitude.
Informix Error Code -1201 Number is too small for a DECIMAL data type.
The DECIMAL data type accommodates numbers from 10 to the -130th power through 10 to the 124th power in absolute value. The precision (number of significant digits) varies from 1 to 32; however, the source of this error is not the length of the number but its magnitude.
Informix Error Code -1202 An attempt was made to divide by zero.
Zero cannot be a divisor. In some cases, this error arises because the divisor is a character value that does not convert properly to numeric.

Informix Error Code -1203 Values used in a MATCH must both be type CHARACTER.
The MATCHES relationship applies only to character data; both of its operands must be CHAR or VARCHAR columns or variables, or literal character strings. If you need to apply a regular-expression pattern match to a numeric value, you can do so in 4GL. Assign the numeric value to a CHAR variable, and test that variable.

Informix Error Code -1204 Invalid year in date.
The year in a DATE value or literal must be either two or four decimal digits; that is, from 00 to 99 or from 0001 to 9999. The number 0000 and other numbers of digits are not acceptable.
Informix Error Code -1205 Invalid month in date.
The month in a DATE value or literal must be a one- or two-digit number from 1 to 12.
Informix Error Code -1206 Invalid day in date.
The day number in a DATE value or literal must a one- or two-digit number from 1 to 28, 30, or 31 depending on the month that accompanies it.

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.

Thanks,
SQLServerF1 Team
Information about Informix Error Codes or Status Codes or Exit Codes and Error Messages on Windows, Linux Operating Systems.

 

Leave a Reply

Your email address will not be published. Required fields are marked *