APPTOKENGEN CLI/ODBC configuration keyword
The APPTOKENGEN keyword is used to specify whether an application identification token (apptoken) is to be generated by using a shared library callback.
- db2cli.ini keyword syntax:
- APPTOKENGEN= ON | OFF
- Equivalent IBM® data server driver keyword:
- APPTOKENGEN
- Equivalent IBM Data Server Provider for .NET connection string keyword
- N/A
- db2dsdriver.cfg configuration syntax
- <parameter name="APPTOKENGEN" value="ON|OFF"/>
- Default setting:
- OFF
- Usage notes:
-
You can use the APPTOKENGEN keyword to control the apptoken generation behavior for CLI or embedded SQL applications. The keyword identifies whether the apptoken is generated by using a callback shared library.
The APPTOKENGEN keyword can also be specified on the connection string. The keyword can be used only for connections to Db2 on Linux, AIX, and Windows platforms. The value of the parameter can be ON or OFF. The maximum length of the parameter is 3 characters.