User's Guide
The database locator object is used to define a DB2 Connect Enterprise
Edition gateway to its clients.
For your DB2 Connect workstation, use the DCE command cdscp create
object to create a database locator object. For example:
cdscp create object object_global_name
Add the following attributes to the object:
- DB_Object_Type
- L for locator object
- DB_Communication_Protocol
- The following information about each communication protocol between the
DB2 Connect workstation and remote clients.
For APPC:
- The communication protocol (APPC)
- The network ID of the DB2 Connect workstation
- The LU name for the DB2 Connect workstation
- The transaction program name for connections from remote clients
- The mode name
- The security type, as described in "Security with DCE Directory Services".
For TCP/IP:
- The communication protocol (TCPIP)
- The host name of the DB2 Connect workstation
- The connection port used by the DB2 Connect workstation to accept
connections from remote clients
- Type of connection (whether using SOCKS or NONE). This is optional. If not
specified, NONE is used.
For IPX/SPX:
- The communication protocol (IPXSPX)
- The file server name. Use * for direct addressing
- The object name. Use the internetwork address for direct addressing.
For NETBIOS:
- The communication protocol (NETBIOS)
- The NNAME for the server or DB2 Connect Enterprise Edition
gateway.
For example, you could put the following lines into a file:
create object /.../cdscell1/subsys/database/DBAIX01
add object /.../cdscell1/subsys/database/DBAIX01 DB_Object_Type= L
add object /.../cdscell1/subsys/database/DBAIX01 DB_Communication_Protocol=\
TCPIP;AIX001;3700
add object /.../cdscell1/subsys/database/DBAIX01 DB_Communication_Protocol=\
APPC;SPIFNET;NYX1GW01;NYSERVER;IBMRDB;NONE
and then enter the command:
cdscp < filename
On OS/2, you can also specify the IPXSPX or NETBIOS protocol in the
DB_Communication_Protocol attribute. For example:
- IPXSPX;fileserver;objectname
- NETBIOS;nname
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]