ERR_PRINT()

Prints in the error line the text corresponding to an error number.

Syntax

ERR_PRINT(
   errnum INTEGER )
  1. errnum 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.

IBM® Informix SQL error numbers can only be supported if the program is connected to an Informix database. Do not use this function when programming an application that must run with different type of database servers.