err_get()

Returns the text corresponding to an error number.

Syntax

err_get(
   errnum INTEGER ) 
  RETURNING result STRING
  1. errnum is a runtime error or an Informix® SQL error.

Usage

The err_get() function returns the error message corresponding to the number passed as parameter.

IBM® Informix SQL error numbers can only be supported if the program is connected to an Informix database. Do not use this function in the context of SQL execution, when using different type of database servers.