Informix Error Messages and Error Codes From Error 404 to 407
Informix Error Code -404 A NULL control block has been passed as an argument.
Review the way the program constructs the sqlda and related data structures; somehow it is setting up a null pointer. If the program is in INFORMIX-4GL or another language in which the sqlda is not constructed directly by the program, or if this statement only refers to host variables by name, this error should not occur. Contact Informix Technical Support.
Only Version 4.1 and earlier database servers return this error code with the meaning shown.
Informix Error Code -405 The Address of a host variable is not properly aligned.
Review the way the program constructs the sqlda and related data structures; somehow it is setting up a pointer that is not word aligned. Also, make sure that all host variables are aligned on proper address boundaries for their types. If the program is in INFORMIX-4GL or another language in which the programmer has no control over storage alignments, this error should not occur. If the error recurs, please note all circumstances and contact Informix Technical Support.
Informix Error Code -406 Memory allocation failed.
Something in the current statement required the allocation of memory for data storage, but the memory was not available. Several things can cause this error. For example, your application has a memory leak; you are asking for more resources than the system is configured to allow; or a problem with the UNIX system itself requires rebooting the system.
Roll back the current transaction. Look for ways to make this statement simpler or move less data. Also, confer with your UNIX system administrator to solve memory problems or look for ways to make the operating system give this program more virtual memory in which to run. On DOS systems, exit to the operating-system command line, free some disk space, and resubmit your program.
Informix Error Code -407 Error number zero received from the sqlexec process.
This internal error indicates a problem in the communication between the database server and the library functions that call it. Check that your program is at the same software level as the database server in use. If the 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.