DB2 Version 9.7 for Linux, UNIX, and Windows

CheckForFork CLI/ODBC configuration keyword

Checks for a forked process for each function call.

db2cli.ini keyword syntax:
0 | 1
Default setting:
CLI does not check for forked processes.
Usage notes:
CLI assumes that the process will never be forked. The CheckForFork keyword must be set to 1 if applications want to fork while connection and statement handles are allocated in order to avoid interfering with the parent process' active connections.

The SQL_ATTR_PROCESSCTL environment attribute can be set to SQL_PROCESSCTL_NOTHREAD option by an application to override the CheckForFork keyword for that application.

(This option is contained in the Common section of the initialization file and therefore applies to all connections to DB2® databases.)