Informix Error Messages and Error Codes From Error 9602 to 9611
Informix Error Code -9602 Illegal attempt to convert a collection type into another type.
You attempted to store a collection of one type in a collection of a different type, or you attempted to move a collection into a host variable that is not a collection. In ESQL/C, a collection host variable declared to contain elements of a specific type can only hold collections of that same type. If you require that a collection host variable hold collections of different types, declare it without the specific type information.
Informix Error Code -9605 Scroll cursor can’t select collection columns.
You attempted to select a collection column while you were using a scroll cursor. You must rewrite the query without the scroll cursor or eliminate any collection columns from the select list.
Informix Error Code -9606 Collections are not allowed in the GROUP BY clause.
Move the reference to a collection column in the GROUP BY list.
Informix Error Code -9607 Collections are not allowed in the DISTINCT clause.
Either remove the DISTINCT clause or remove the collection column(s) from the SELECT clause.
Informix Error Code -9608 Collections are not allowed in the ORDER BY clause.
Remove the reference to a collection column in the GROUP BY list.
Informix Error Code -9609 Collections are not allowed in the expression.
You attempted to select a collection from within a subquery, perform an aggregation on a collection, or use a collection in some other expression that is not allowed. Please check your manual to determine the places where you can use collections in expressions.
Informix Error Code -9611 ROM clause cannot have a join when one of the tables is a collection.
You cannot join a table derived from a collection with a table. Remove TABLE(:coll_host_var) from the FROM clause of your query.
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.