err_print()
Prints in the error line the text corresponding to an error number.
Syntax
err_print(
messageId INTEGER )
- messageId is a runtime error or an Informix® SQL error.
Usage
The err_print()
function displays to the screen the
error message corresponding to the number passed as parameter.
The message will be displayed in the error line defined by the program.
Important: IBM®
Informix SQL message numbers can only be supported, if
the program is connected to an Informix database, and an SQL error occurred just before calling this
function. Do not use this function in the context of SQL execution, when using different type of
database servers.