Informix Error Messages and Error Codes From Error 4161 to 4168


Informix Error Code -4161 This variable has not been defined as a record or object.
The variable indicated has been used with an asterisk or with the THRU or THROUGH keywords. However, it has not been defined as a record or an object. Check the spelling of the name. If it is as you intended, locate the definition of the variable, and find out why it was not defined as expected. Only NewEra returns this error.
Informix Error Code -4162 Values cannot be RETURNed from within reports.
A report cannot include a RETURN statement because that would return control to the routine that invoked the report.

Informix Error Code -4163 Intrinsic function “name” of class “class” cannot be called directly.
Constructors of the form classname::classname() are invoked through the NEW operator. The classname::!copy() is invoked through the COPY operator. The classname::!derive() is invoked through the AS clause in both the NEW and the COPY operator. Only NewEra returns this error.
Informix Error Code -4164 The variable is too complex a type to be used in an assignment statement.
The type of the variable cannot be used in an assignment.That is, you cannot assign a value (except for the nonvalue NULL) to a BYTE or TEXT variable. You cannot assign any value to an ARRAY variable.

Informix Error Code -4167 The PRAGMA LOCATION statement should be the last statement on the line.
No other NewEra statement can follow PRAGMA LOCATION on the same line. If your source file includes any other NewEra statement or compiler directive after PRAGMA LOCATION, insert a linefeed character immediately following the end of the PRAGMA LOCATION compiler directive. (The last specification of PRAGMA LOCATION must be a line number, a filename, or the keyword RESET.)
Informix Error Code -4168 An unexpected character was detected in this NewEra name.
A multibyte character (or other non-ASCII character that supports the locale) was found in the name of a NewEra identifier. For this release of NewEra, multibyte characters and other locale-specific characters are not valid in NewEra identifiers.

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 *