Informix Error Messages and Error Codes From Error 6038 to 6044
Informix Error Code -6038 An alias cannot be an alias of an existing alias.
The oldname parameter that was presented to dbalias() has been defined as an alias in a previous call. The program can define multiple aliases for a table, but it cannot define an alias for an alias. Review the program logic, and change it so that the oldname parameter is always the name of a real table in the database.
Informix Error Code -6040 The aliased table was not found as a table name in the database.
The oldname parameter that was presented to dbalias() cannot be found in the current database as a tablename. Check the value of the parameter; if it is as you intended, then perhaps the wrong database is current, or the intended table has been renamed.
Informix Error Code -6041 The column number is greater than the number of columns in the table.
The colnum parameter that was presented to dbnfield() is greater than the total number of columns in the table whose name was passed. If the program was iterating over the column numbers from 0 upward, this return code signals the end of the table. Otherwise, check the number passed; if it was as you intended, either the wrong database is current, or the table has been altered.
Informix Error Code -6042 Invalid format passed to dbprusing.
The format string that was passed to dbprusing() is not acceptable. Verify the value passed, and review the rules of the USING function as described in the reference material for the REPORT feature of INFORMIX-4GL.
Informix Error Code -6043 Column is not a composite key.
The columname parameter that was passed to dbselfield() is not the name of a column in the specified table, nor is it the name of a composite index on that table. Review the tablename and columname parameters. If they are as you intended, check that the correct database has been selected. If so, the desired index might have been dropped or created under a different name.
Informix Error Code -6044 The column number is greater than the number of columns in the composite key.
If this internal error recurs, please note all circumstances and contact Informix Technical Support.
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.