DB2 Version 9.7 for Linux, UNIX, and Windows

AppendAPIName CLI/ODBC configuration keyword

Appends the CLI/ODBC function name which generated an error to the error message text.

db2cli.ini keyword syntax:
AppendAPIName = 0 | 1
Default setting:
Do NOT display CLI function name.
Usage notes:
 

The CLI function (API) name that generated an error is appended to the error message retrieved using SQLGetDiagRec() or SQLError(). The function name is enclosed in curly braces { }.

For example,
 
[IBM][CLI Driver]" CLIxxxx: < text >
SQLSTATE=XXXXX {SQLGetData}"
  • 0 = do NOT append CLI function name (default)
  • 1 = append the CLI function name

This keyword is only useful for debugging.