Informix Error Messages and Error Codes From Error 4141 to 4147
Informix Error Code -4141 Unknown 4GL compiler flag “name” will be ignored.
This error occurs when the user invokes components of the NewEra product directly, instead of through standard interfaces. The executable fglc or fglp has been passed a compiler switch that is not understood.
Informix Error Code -4142 Functions called in the WHENEVER statement cannot require parameters.
The WHENEVER statement in the program has the form WHENEVER condition CALL function, and the function being called is declared to have parameters. The function call in this context cannot even have parentheses, let alone arguments. Note that main has implicit parameters, so it cannot be used in this form of the WHENEVER statement.
Informix Error Code -4143 Functions called in the WHENEVER statement cannot return values.
The WHENEVER statement in the program has the form WHENEVER condition CALL function, and the function that is being called is declared with a RETURNING clause. The function call in this context cannot return any values.
Informix Error Code -4144 A grammatical error has been found in an INCLUDEd file. The construct is not understandable in its context.
This general message shows an inability to parse a NewEra statement from a file summoned by an INCLUDE statement. Start at the point where the error was issued, and work backward in the program looking for other error messages, and for missing punctuation, missing END statements, and other mistakes. Often, a missing END IF is the culprit. If the cause for this error is not obvious, concentrate on eliminating any other, more specific error messages, and this one will probably go away also.
Informix Error Code -4145 Too many errors, compiler will quit.
Too many compiler errors have been detected. The compiler reports the errors it has found to this point and quits.
Informix Error Code -4146 Too many input files specified.
The executables fglc and fglp allow only 1 input file.
Informix Error Code -4147 A RETURN statement is required in this function.
The function was declared with a RETURNING clause that specified other than VOID, but no RETURN statement occurs in the body of the function.
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.
Information about Informix Error Codes or Status Codes or Exit Codes and Error Messages on Windows, Linux Operating Systems.