Informix Error Messages and Error Codes From Error 4109 to 4119

SQLServerF1

Informix Error Code -4109 An expression of type DATE or DATETIME is expected.
In an EVENT statement, a function definition or declaration, an EXTERNAL REPORT statement, a HANDLER statement, a function invocation, or just an expression, the compiler found something other than a DATE or DATETIME expression.
Informix Error Code -4110 You cannot use more than one of the REPORT TO options in the OUTPUT section of a REPORT routine.
In this OUTPUT section, the statement REPORT TO appears more than once. Only one such specification is allowed. Remove all but one.

Informix Error Code -4111 Warning: The function name is declared informally. For stronger type checking, use a function defined formally.
The compiler detected that function name is an informal function. Possibly the function returned a different number of arguments in different circumstances, or the function has no prototype declaration. Although nothing is wrong with defining a function this way, informal functions are more prone to errors at runtime. Informix recommends that you use formal function declarations (along with function prototypes) that are less error-prone and that the compiler checks more rigorously.

Informix Error Code -4117 A constant expression is expected here.
At least one of the values in one of the constant expressions in this CONSTANT statement cannot be evaluated at compile time. Refer to “Constant Expressions” in the INFORMIX-4GL Language Reference for information on what types of operations can be used in constant expressions.
Informix Error Code -4118 Expressions of this data type are not allowed in constant expressions.
The indicated expression cannot be evaluated to a constant. Correct any other errors that might have been reported against this expression, and recompile.
Informix Error Code -4119 Time-dependent functions must be used with the function CONSTANT() in constant expressions.
One of the constant expressions in this CONSTANT statement refers to function such as CURRENT, whose value depends on the current time. Such functions have to be written as arguments to the CONSTANT() function, which returns their value as of the time of compilation. (You cannot use the time of execution in a constant value.)

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.

Thanks,
SQLServerF1 Team
Information about Informix Error Codes or Status Codes or Exit Codes and Error Messages on Windows, Linux Operating Systems.

 

Leave a Reply

Your email address will not be published. Required fields are marked *