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.