Windows C User Exits › Windows GUI Client User Exits › C4ERRMSG—Database Message Exit (Windows) › Purpose
Use the Database Message User Exit to customize the database error messaging.
There exists a Database Message User Exit for each supported DBMS: ODBC, Oracle and DB2.