Informix Error Messages and Error Codes From Error 479 to 485


Informix Error Code -479 The number of DESCRIBED columns is greater than the allocated space.
The number of columns in the table is larger than the allocated descriptor. Use the ALLOCATE DESCRIPTOR statement to reallocate a larger occurrence value, and try the DESCRIBE statement again.
Informix Error Code -480 A descriptor with the same name already exists.
A system descriptor area with the same name has already been allocated, so this descriptor name is not unique. Change the name of this descriptor in the ALLOCATE DESCRIPTOR statement so that the descriptor is unique, and execute the statement again.

Informix Error Code -481 Invalid statement name or statement was not PREPAREd.
The statement has not been prepared, or the statement name used is not valid. A valid statement name is between 1 and 18 characters; it begins with a nonnumeric character and does not contain any blanks or nonalphanumeric characters except underscore.
Informix Error Code -482 Invalid operation on a non-SCROLL cursor.
You cannot issue a FETCH PRIOR, FETCH FIRST, FETCH LAST, FETCH CURRENT, FETCH RELATIVE n, or FETCH ABSOLUTE n statement with a non-scroll cursor. To do so, you must first declare the cursor as a scroll cursor.
Informix Error Code -483 SQL descriptor’s name is too long. Limit is 18 characters.
SQL descriptor names cannot exceed 18 characters.

Informix Error Code -484 Statement/cursor’s name is too long. Limit is 18 characters.
The name of the statement or cursor must be from 1 to 18 characters.
-485 Number of host variables does not match SELECT list.
This error can occur only if your database is ANSI compliant. The error indicates that the number of host variables in an ESQL statement is not the same as the number of values that the database server returns. In addition, a warning flag is placed in the third element of the sqlwarn structure of sqlca.
The execution of the second statement in the following ESQL/C example returns this error:
$create table mytab (i integer, f float) $select * into :var1 from mytab; –error
If your database is not ANSI compliant, this and similar statements complete without error, and the values of the host variables are set in sequence to their respective returned values. If the number of returned values is smaller than the number of host variables, the remaining host variables are undefined. As with an ANSI-compliant database, a warning flag is placed in the third element of the sqlwarn structure of sqlca.

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.

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 *