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.