MapTimeDescribe CLI/ODBC and IBM data server driver configuration keyword

Controls the SQL data type returned when TIME columns and parameter markers are described.

db2cli.ini keyword syntax:
MapTimeDescribe = 0 | 1 | 2
IBM® data server driver configuration file (db2dsdriver.cfg) syntax:
<parameter name="MapTimeDescribe" 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 SQL data type for TIME data is returned: SQL_TIME for ODBC 2.0 or SQL_TYPE_TIME for ODBC 3.0
Usage notes:
 
To control the SQL data type that is returned when TIME columns and parameter markers are described, set MapTimeDescribe as follows:
  • 0 - to return the default SQL data type: SQL_TIME for ODBC 2.0 or SQL_TYPE_TIME for ODBC 3.0
  • 1 - to return the SQL_CHAR SQL data type
  • 2 - to return the SQL_WCHAR SQL data type
Only the following CLI functions are affected by setting MapTimeDescribe:
  • SQLColumns()
  • SQLDescribeCol()
  • SQLDescribeParam()
  • SQLGetDescField()
  • SQLGetDescRec()
  • SQLProcedureColumns()
  • SQLSpecialColumns()