Informix Error Messages and Error Codes From Error 664 to 668
Informix Error Code -664 Wrong number of arguments to system function function-name.
You have specified an incorrect number of arguments for the function function_name. Check that you are passing the correct number of arguments to the function.
Informix Error Code -665 Internal error on semantics – code-number.
If this internal error recurs, please note all circumstances and contact Informix Technical Support.
Informix Error Code -666 Variable variable-name must be declared INTEGER or SMALLINT.
In a FOR statement, loop variables that contain ranges must be declared to be INT or SMALLINT.
Example of error:
DEFINE var CHAR(10); FOR var IN (e1, e2 TO e3, e4) — error …
Correction: Because the FOR statement contains a range operator (the TO clause), var must be declared as INT or SMALLINT.
Informix Error Code -667 Variable variable-name not declared.
The specified variable was not declared. Check the spelling of the undeclared variable to ensure that it is not causing the error.
Informix Error Code -668 System command cannot be executed.
A system call failed in the operating system. The following example shows a statement that might cause an error: SYSTEM ‘hello’; Make sure that the system command is not trying to run something that is not in your path or that is not applicable to the environment. Make sure that you have provided a user-id and password when connecting to the database server. The database server must have the user’s password in order to execute a command on behalf of that user. On Windows NT platforms, make sure the following Advanced User Rights have been assigned to user “informix”: Act as part of the operating system; Increase quotas; replace a process level token.
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.