MapBigintCDefault CLI/ODBC and IBM data server driver configuration keyword

Specifies the default C type of BIGINT columns and parameter markers.

db2cli.ini keyword syntax:
MapBigintCDefault = 0 | 1 | 2
IBM® data server driver configuration file (db2dsdriver.cfg) syntax:
<parameter name=“MapBigintCDefault" value=“0 | 1 | 2"/>
Attention: The IBM data server driver configuration file (db2dsdriver.cfg) syntax is available in Db2 11.5.4 and later.
Default setting:
The default C type representation for BIGINT data is SQL_C_BIGINT.
Usage notes:
 
MapBigintCDefault controls the C type that is used when SQL_C_DEFAULT is specified for BIGINT columns and parameter markers. This keyword should be used primarily with Microsoft applications, such as Microsoft Access, which cannot handle 8-byte integers. Set MapBigintCDefault as follows:
  • 0 - for the default SQL_C_BIGINT C type representation
  • 1 - for an SQL_C_CHAR C type representation
  • 2 - for an SQL_C_WCHAR C type representation
This keyword affects the behavior of CLI functions where SQL_C_DEFAULT might be specified as a C type, such as SQLBindParameter(), SQLBindCol(), and SQLGetData()