In the DCE environment, each object and object attribute
is identified by an object ID (OID). Each OID is obtained from a
hierarchy of allocation authorities, where the highest authority is the
International Organization for Standardization (ISO).
Table 55 shows the attributes for each object class and Table 56 shows their attributes.
Table 55. Object Attribute Classes
||Object ID (OID)
||DAU, DOT, DDP, DNN
||DCO, DPN, DRL, DLN, DCP, DPR
||DCO, DPN, DRL
||DCO, DPN, DRL
Table 56. Object Class Attributes
|Note:||Multiple values are allowed for DCP, DDP, and DTI. Only one value is
allowed for the other attributes.
The following section describes each attribute.
|Note:||DCE Directory Services does not check that the entries are valid for
DB2. Ensure that you enter the attributes that are required and that
you enter the correct values.
- DB_Authentication (DAU)
- Authentication method required by the object. This attribute is
required for the database object of a DB2 server. The value must be
CLIENT, SERVER, or DCE.
- DB_Principal (DPR)
- If authentication method is "DCE", enter the DCE principal in this
- DB_Comment (DCO)
- For documentation purposes only.
- DB_Communication_Protocol (DCP)
- A multi-value attribute where each value consists of tokens that describe
the network protocol supported. Examples of the network protocols are
TCP/IP, APPC, IPX/SPX, and NetBIOS. (These last two are appropriate for
OS/2 only.) Each token is separated by a semicolon. Do not put
spaces between the tokens.
- The tokens for TCP/IP are:
- Host name of the target node
- Port number used by the object to listen for incoming TCP/IP connect
- (Optional) Security can be either NONE or SOCKS.
For example: tcpip;HOSTNAME;1234
- The tokens for APPC are:
- Network ID of the target to which to object belongs.
- LU name where the target can be found.
- Transaction Program Name (TPN) representing the object in the LU (For DB2
for MVS/ESA, use DB2DRDA as the TPN.)
- Mode name
- Type of security used by the target. The values are:
For example: appc;NETID;TARGETLU;TPNAME;MODE;PROGRAM
|Note:||For APPC, the client must use its local control point (CP) as its LU
- (OS/2, Windows NT, or Windows 95 only) The tokens for IPX/SPX are:
- Name of the file server
- Name of the object
For example: ipxspx;SVR_NAME;OBJ_NAME
- (OS/2, Windows NT, or Windows 95 only) The tokens for NetBIOS are:
- Node name of the server
For example: netbios;SVR_NNME where the client adapter
number is found in either the registry value db2clientadpt or the
database manager configuration parameter
- (Windows NT or Windows 95 only) The tokens for NPIPE are:
- Computer name of the server
- Instance name of the server
For example: npipe;computername;instance
- DB_Database_Protocol (DDP)
- The database protocol or protocols supported by the target
database. Examples of the values are DB2RA and DRDA. The
following are the cdscp commands to add two protocols.
add object /.:/subsys/database/AIXDB1 DB_Database_Protocol db2ra
add object /.:/subsys/database/AIXDB1 DB_Database_Protocol drda
- DB_Database_Locator_Name (DLN)
- The DCE name of the database locator object. In the database
object, the name is for the DBMS instance. In the routing information
object, the name is for the DB2 Connect instance.
- DB_Native_Database_Name (DNN)
- The database name or alias by which the database is known within the
instance containing the database. This is the name that a local
application on the instance uses to connect to that database.
The name is up to 8 characters for a DB2 for Universal Database
database. For other databases, the length of the name may be
different. For example it can be up to 18 characters for databases on
DB2 for MVS/ESA.
- DB_Object_Type (DOT)
- The type of object. This attribute is required for all objects and
can be one of the following:
- Database object
- Database locator object
- Routing information object
- DB_Product_Name (DPN)
- The identification of the product. For documentation purposes
- DB_Product_Release (DRL)
- The product release level. For documentation purposes only.
- DB_Target_Database_Info (DTI)
- A multi-value attribute where each value consists of a fixed number of
tokens, separated by a semicolon. Do not put spaces between the
tokens. The tokens must be in the following order:
- Database name. The DCE name of a target database for which the
routing service is provided. The value *OTHERDBS specifies a default
gateway for any target databases not explicitly defined in the routing
- Outbound protocol from router. The database protocol used by the
target database, or the database protocol the routing DB2 Connect instance
uses to communicate with that target database. For example,
- Inbound protocol to router. The database protocol accepted by the
routing DB2 Connect instance object. For example, DB2RA.
- Authenticate at gateway. The valid values are 0 or 1. See Table 57 for more details.
- Parameter string which contains information specific to the DB2 Connect
gateway. The string contains tokens that must be in the order described
below. The tokens are separated by commas. For tokens that are
not specified, the default is used.
- Map-file name. The fully-qualified name of the SQLCODE mapping file
that overrides the default SQLCODE mapping. To turn off SQLCODE
mapping, specify NOMAP.
- D. The application disconnects from the DRDA server database when
specific SQLCODEs are returned. Refer to the DB2
Connect User's Guide for details about the SQLCODEs.
- INTERRUPT_ENABLED. DB2 Connect will drop the connection and roll
back the unit of work when a client issues an interrupt while connected to the
The following are some examples:
Where defaults are used, use a comma to preserve the order of the tokens,
Refer to the DB2 Connect User's Guide for details about the Parameter string.
- The DCE name of the DB2 Connect instance that provides the routing
The following is an example of the DB_Target_Database_Info:
|Note:||In the above example, the back slash (\) is a line continuation
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]