Informix Error Messages and Error Codes From Error 4048 to 4054

SQLServerF1

Informix Error Code -4048 Driver statements for a report are not allowed within the body of that report.
This statement defines a record variable and uses initialization expressions when it declares one or more members. This action is not supported. You can use an initialization expression only when you define a simple variable.
Informix Error Code -4050 Function “name” has been used and hence declared as informal before this formal declaration.
A call to this function appears prior to this declaration of it. Calls to undeclared functions are supported only for compatibility with previous versions of the 4GL language. When the compiler encountered the call to the function, it assumed an informal declaration for it. Move the declaration of the function to the top of the source module so that it precedes calls to it.
Informix Error Code -4051 Member “name” is defined in class “class”, but not as a function.
This statement tries to invoke class::member(), either directly or as object.member(). The class has a member of that name, but it is a member variable, not a function. Check the spelling of the member name and the class or object name. Review the declaration of the class for the correct spelling of its member names.

Informix Error Code -4052 Identifier “name” is not defined in the global scope.
A constant or variable is used that is not locally defined, so the compiler assumes that it is to be globally defined but does not find it there either.
Informix Error Code -4053 Function “name” has already been declared with a different prototype.
The function that is described in this FUNCTION statement has already been declared, and the previous declaration disagrees with this one in the number or type of the arguments. Review included files for declarations of this function, and make those statements consistent.

Informix Error Code -4054 Function “name” has already been declared with a different return type.
The function that is described in this FUNCTION statement has already been declared, and the previous declaration disagrees with this one in the number or type of returned values. Review included files for declarations of this function, and make those statements consistent.

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 *