The database locator object is used to define a DB2 Connect Enterprise Edition server 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:
The following summarizes protocol support by platform:
For APPC:
For TCP/IP:
For IPX/SPX:
For Named Pipes:
For NETBIOS:
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
Then, enter the command:
cdscp < filename
On Windows 32-bit operating systems, you can specify a named pipe in a similar manner. For example:
add object /.../cdscell1/subsys/database/DBAIX01 DB_Communication_Protocol=\
NPIPE;computer_name;instance_name
On OS/2, you can specify the protocol in the DB_Communication_Protocol attribute. For example:
- IPXSPX;fileserver;objectname
- NETBIOS;nname