Informix Error Messages and Error Codes From Error 4327 to 4334

SQLServerF1

Informix Error Code -4327 The variable variable-name is not of type INTEGER or SMALLINT. It cannot be used as a loop index.
The index variable in a FOR loop must be an integer type. Specify a different variable, or redefine the one named.
Informix Error Code -4328 The variable variable-name has too complex a type to be used as the destination of a return from a function.
The named variable is a record or an array. Only simple variables can be returned by a function, although the function can return a list of simple variables. In the case of a record, you can use the asterisk or THRU notation as shorthand to specify a list of components.

Informix Error Code -4329 The variable variable-name is not a record. Only record variables may be expanded using the .* or THROUGH shorthand.
You have used the displayed name with either dot-asterisk (.*) or the word THRU (or THROUGH), which is shorthand notation to specify a list of the components of a record. Unfortunately, the variable is not defined as a record. Make sure that you specified the right variable and that it is defined as a record.
Informix Error Code -4330 Values cannot be RETURNed from the MAIN program.
Although RETURN is equivalent to EXIT PROGRAM in a MAIN program, it cannot include a value to be returned. NewEra programs return this error.

Informix Error Code -4333 The name has already been called with a different number of parameters.
Earlier in the program, there is a call to this same function or event with a different number of parameters in the parameter list. At least one of these calls must be in error. Examine the FUNCTION or EVENT statement for name to find out the correct number of parameters. Then examine all calls to it, and make sure that they are written correctly. When this error appears near the top of a function in conjunction with error -4336, fix error -4336 first, and -4333 will usually disappear. NewEra programs return this error.
Informix Error Code -4334 The variable variable-name in its current form is too complex to be used in this statement.
By “too complex” 4GL means “has too many component parts.” In this statement, only simple variables (those that have a single component) can be used. If variable-name is an array, you must provide a subscript to select just one element. If it is a record, you must choose just one of its components. (However, if this statement permits a list of variables, as in the INITIALIZE statement, you can use asterisk or THRU notation to convert a record name into a list of components.)

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 *