SET ERRORMAP

Changes the SQL error map file for the current connection.

Syntax:

>>--EXEC SQL--SET ERRORMAP--map-file-prefix--END-EXEC--><

Parameters:

map-file-prefix The prefix of the SQL error map file name (no file extension)

Comments:

SQL Error Mapping must be enabled using the ERRORMAP SQL compiler directive option.

The SET ERRORMAP statement is most useful in applications that use multiple database connections.

For more information about SQL error mapping, see SQL Error Mapping.