ConnectNodeNumber IBM data server driver configuration keyword

Specifies the database partition server to which a connection is to be made.

Equivalent CLI keyword
ConnectNode
Equivalent IBM® Data Server Provider for .NET connection string keyword
ConnectNodeNumber
db2dsdriver.cfg configuration syntax
<parameter name="ConnectNodeNumber" value="integer value from 0 to 999 | SQL_CONN_CATALOG_NODE"/>
Default setting:
Database partition server which is defined with port 0 on the machine is used.
Equivalent connection attribute:
SQL_ATTR_CONNECT_NODE
Usage notes:
Used to specify the target database partition server that you want to connect to. This keyword (or attribute setting) overrides the value of the environment variable DB2NODE. Can be set to:
  • an integer between 0 and 999
  • SQL_CONN_CATALOG_NODE
If this variable is not set, the target defaults to the database partition server that is defined with port 0 on the machine. Any out of range value specified for this keyword is ignored and the SQL_CONN_CATALOG_NODE is used instead.