skip to main content
Drivers for 32-Bit and 64-Bit Platforms : The DB2 Wire Protocol Driver : Connection Option Descriptions for DB2 : Tcp Port
 

Try DataDirect Drivers Now
Tcp Port

Attribute

TcpPort (PORT)

Purpose

Specifies the port number that is assigned to the DB2 DRDA listener process on the server host machine.
On DB2 for i only, execute NETSTAT from a command line to determine the correct port number. Select option 3 to display a list of active ports on the DB2 for i machine. Find the entry for DRDA, and press F14 to toggle and display the port number. If DRDA is not currently listening, the command CHGDDMTCPA AUTOSTART(*YES) PWDRQD(*YES) starts the listener and ensures that it is active at IPL.

Valid Values

IP_address | service_name
where:
IP_address
is the port’s IP address.
service_name
is the port’s service name. The driver must be able to find this name (with the correct port assignment) in the SERVICES file on the workstation.

Default

50000

GUI Tab

General tab