Informix Error Messages and Error Codes From Error 6017 to 6024
Informix Error Code -6017 Cannot add a duplicate value; the index has been defined as UNIQUE.
At least one of the column values that was presented to dbadd() is a duplicate of a value that exists in its column. However, that column is constrained to contain unique values. The row cannot be inserted.
Informix Error Code -6018 Tablename has not been opened.
A call to dbselect must first open the table that dbadd() is to use. Review the program logic to make sure that this action is performed.
Informix Error Code -6019 No view has been set.
Before the program calls dbadd(), it must call dbsetview() to establish a view (that is, a specification of the columns to be returned and the buffer to receive them). Review the program logic to see that this action is performed.
Informix Error Code -6020 There is no current row.
The dbdel() and dbupd() functions operate on the row last chosen using dbfind(). Review the program logic to see that dbfind() is called to establish a row. If the call was to dbfind() itself, it was passed a flag such as CURRENT, which assumes that a row had been selected in a prior call, but none had been selected.
Informix Error Code -6021 Tablename has not been opened.
A call to dbselect must first open the table that dbdel() is to use. Review the program logic to make sure that this action is performed.
Informix Error Code -6022 Lock was denied.
Probably some other process has already locked the table. The program should wait a short time and attempt the lock again. If the condition persists, the program should roll back its transaction and retry the entire operation.
Informix Error Code -6023 Tablename has not been opened.
A call to dbselect must first open the table that dblock() or dbunlock is to use. Review the program logic to make sure that this action is performed.
Informix Error Code -6024 Memory allocation error, out of memory.
During certain operations, memory is allocated to hold internal data structures. On this call, memory allocation failed. You might avoid this problem by opening fewer tables and/or creating dbview structures with fewer columns.
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.