Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



DB2 Parameters


The following table describes the DB2 (UDB, v7.1) database parameters available for configuring system DSNs, as they appear on the Sun ONE ASP Administration Console New Data Source Name and Edit Data Source Name pages. For more information, see Configuring Data Source Names (DSNs).

Parameter
Explanation
DSN*
Data Source Name*
Name of the data source name (DSN) you are configuring. This must match the catalogued name of the DB2 database.
Description
Description of the DSN to distinguish it from others.
Database type*
Indicates for which type of database you are configuring this DSN (DB2).
Driver
On the New Data Source Name page, this is the name of the ODBC driver installed for the type of database selected in the Database type box (DB2). This is a nonconfigurable field.
On the Edit Data Source Name page, this is the absolute path name of the ODBC driver specified for this DSN. This is a configurable field.
Database*
This entry must match the catalogued name of this DB2 database. The data source name (DSN) specified above must match this entry.
LogonID*
Username required for accessing the database. If the username is not provided when configuring a system DSN, every connection string using this DSN must include the username.
Caution: To prevent access to a database by unauthorized users in shared Web hosting environments, it is recommended that the username and password be provided in each connection string, rather than in the system DSN.
Password*
Password required for accessing the database. If the password is not provided when configuring a system DSN, every connection string using the DSN must include the password.
Caution: To prevent access to a database by unauthorized users in shared Web hosting environments, it is recommended that the username and password be provided in each connection string, rather than in the system DSN.
IPAddress*
IP address for the database server (DB2).
TcpPort*
Port for the database server (DB2).
Location
Specify this attribute only if the DB2 database is running on OS/390.
Location is a path that specifies the DB2 location name. Use the name that was defined during the local DB2 installation.
Collection
Specify this attribute only if the DB2 database is running on OS/390.
Collection is the name that identifies a group of packages. These packages include the Connect ODBC for DB2 Wire Protocol driver packages. The default is DATADIRECTOO.
Package
Package created by the DataDirect driver that reflects all parameters associated with a specific database (the parameters you specified).
Package is displayed in the Sun ONE ASP Administration Console only when you are editing an existing DSN, not adding a new one.
Note: Do not edit this package. The package is unique to a specific database.

* Required parameters

See also:

Configuring a Database

Configuring Database Parameters



ContentsPreviousNextIndex