ConnectPassive IBM data server driver configuration keyword

Set a passive connection from an application to an active Db2® database.

Equivalent CLI keyword
None
Equivalent IBM® Data Server Provider for .NET connection string keyword
None
db2dsdriver.cfg configuration syntax
<parameter name="ConnectPassive" value="0|1"/>
Default setting:

Establish a default type connection to a database. If it is not already active, the database is activated when establishing the connection.

Equivalent connection attribute:
SQL_ATTR_CONNECT_PASSIVE
Usage notes:

Set this parameter to control what type of connection to establish from your application to the database. Setting ConnectPassive to 0 establishes a normal connection from the application to the database. Setting it to 1 establishes a passive connection to the active database.

This attribute can only be used to establish a passive connection to an already active Db2 database. Any attempt to establish a passive connection to an inactive database results in an error.

 
To establish a passive connection to an active Db2 LUW database server:
<parameter name="ConnectPassive" value="1"/>