Informix Error Messages and Error Codes From Error 4072 to 4077


Informix Error Code -4072 Cannot expand structure with no members.
The statement attempted to perform an expansion, but it failed. The expansion was of the form object.*, but the object that is named does not have any public member variables, so the expansion set is empty. Check that you are referring to the correct class and member.
Informix Error Code -4073 Beginning or ending name in THRU specification is not a member of the target record.
This statement makes a reference to some structure (table, record, or object) with the qualification “first THRU (or THROUGH) last”. However, first or last does not appear as an element of that aggregate. Check the spelling of the two names.

Informix Error Code -4074 No more than two substring index expressions are allowed.
The substring qualifier consists of a pair of integer expressions, separated by a comma and surrounded by brackets (example: name[1,23]). The first value cannot be larger than the second. Both must be positive and no larger than the string length (or the declared length of the receiving data type).

Informix Error Code -4075 Simple string expressions must have type CHAR or VARCHAR.
The compiler expected a string expression but found an expression that was neither CHAR nor VARCHAR data type.
Informix Error Code -4076 Class of CAST object must be a base of class specified as right argument.
You cannot cast an object to any class; you can only cast it as being of a class that is derived from its stated class. In the CAST expression in this statement, the stated class of the object reference on the left is not a base class of the class that is named as the right argument. Review the expression to make sure that you have specified the object that you intended (possibly you need to use parentheses around the object reference) and the target class.
Informix Error Code -4077 This operation is not valid on an operand of this type.
The operator cannot accept operands of this type. Correct any other errors that might have been reported, and verify that this operator is defined for operands of this type. Then compile the program again.

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.

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 *