IBM Books

Quick Beginnings for DB2 Connect


Step 1. Identify and Record Parameter Values

As you proceed through the configuration steps, complete the Your Value column in the following table. You can fill in some of the values before you start configuring this protocol.

Table 6. TCP/IP Values Required at the DB2 Connect Workstation
Parameter Description Sample Value Your Value

Host Name

  • Hostname (hostname) or

  • IP address (ip_address)

Use the hostname or ip_address of the remote host.

To resolve this parameter:

  • Contact your network administrator to obtain the hostname.

  • Contact your network administrator to obtain the ip_address or enter the ping hostname command.

nyx

or

9.21.15.235

 

Service Name

  • Connection Service name (svcename) or

  • Port number/Protocol (port_number/tcp)

Values required in the services file.

The Connection Service name is an arbitrary name that represents the Connection port number (port_number) on the client.

The port number for the DB2 Connect workstation must be the same as the port number that the svcename parameter maps to in the services file at the host database server. (The svcename parameter is located in the database manager configuration file on the host.) This value must not be in use by any other applications, and must be unique within the services file.

This value generally must be 1024 or higher.

Contact your database administrator for the values used to configure the host system.

host1

or

446/tcp


Target database name (target_dbname) The database name as it is known on the host or AS/400 system.

  • If you are connecting to a DB2 for OS/390 system, use the location name.

  • If you are connecting to a DB2 for AS/400 system, use the local RDB name.

  • If you are connecting a DB2 for VM, use the dbname.
newyork
Local database name (local_dcsname) An arbitrary local nickname for use by DB2 Connect that represents the remote host or AS/400 database. ny
Node name (node_name)

A local alias, or nickname, that describes the node to which you are trying to connect. You can choose any name you want; however, all node name values within your local node directory must be unique.

db2node  


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]