Data Source Attributes
Express Edition drivers pass a variety of parameters that differ based upon the back-end database to which they are designed to connect. Use the following guide lines to assess the validity of Express Edition Data Source Attributes:
- Ascertain what values need to be passed to connect to the target database.
- Insure that you pass those values in the appropriate field of the DSN.
- Insure that the values allow the database native client to connect to the database, if the database native client is available.
- Compare DSN parameters with database native .profiles, config files, or screenshots of DBA GUI interfaces, when problems arise.
Here is an overview of values that need to be passed in Express DSNs:
Database | Values |
---|---|
DB2 | Database Server Host Name or IP Address TCP Listening Port Database |
Firebird | Database Server Host Name or IP Address TCP Listening Port Database Path |
Informix | Database Server Host Name or IP Address TCP Listening Port Database Informix Instance Name |
Ingres | Database Server Host Name or IP Address Port Name Database |
Microsoft SQL Server | Database Server Host Name or IP Address TCP Listening Port Database |
Database Server Host Name or IP Address TCP Listening Port Database |
|
Oracle | Database Server Host Name or IP Address TCP Listening Port Oracle SID |
Database Server Host Name or IP Address TCP Listening Port Database |
|
Sybase | Database Server Host Name or IP Address TCP Listening Port Database |
Single-Tier Driver Data Source Attributes
Single-Tier drivers pass a variety of parameters that differ based upon the back-end database to which they are designed to connect. Use the following guide lines to assess the validity of Single-Tier Data Source Attributes:
- Ascertain what values need to be passed to connect to the target database.
- Insure that the you pass those values in the appropriate field of the DSN.
- Insure that the values allow the database native client to connect to the database.
- Compare DSN parameters with database native .profiles, config files, or screenshots of DBA GUI interfaces, when problems arise.
Here is an overview of values that need to be passed in Single-Tier DSNs:
Database | Values |
---|---|
DB2 | DB2 remote database alias |
Informix | Informix server name |
Ingres |
vnode::dbname
|
Microsoft SQL Server |
-S server ip address -P sqlserver listening port -V TDS version
Note: Acceptable TDS versions are: 4.2, 4.6, 5.0, 7.0, and 8.0. |
-H host -P port -T
|
|
Oracle | SQL*Net alias |
-H host -P port -T
|
|
Progress | sockets -SHN parameters |
Sybase | Sybase server name |
Multi-Tier Driver Data Source Attributes
Multi-Tier drivers use the same parameter set regardless of the target database to which they intend to connect. Here is an overview of those parameters and the problems associated with those parameters:
Parameter | Value | Potential Problems |
---|---|---|
Driver | The full path to the |
Missing drivers or bad permissions produce "specified driver could not be loaded" or similar errors. |
Description | A description of the use or nature of the data source. | No known problems are associated with this parameter. |
Host | The IP address or hostname of the machine, which contains the Request Broker. | Incorrect values can produce "Remote System Error" or "Program Unavailable" messages. |
Protocol | The network protocol. The default is TCP. | Testing shows that the connection will default to TCP if an erroneous value is passed. |
Domain (a.k.a. " |
A valid domain alias from the |
The Broker will return "Broker is unable to resolve your Request" errors, if an erroneous value is passed. You must insure that case and spacing in your Domain value matches case and spacing in oplrqb.ini. |
Database | A database name or Oracle SID. | The database server will return a variety of invalid, unknown, or unavailable database/SID errors, when an invalid value is passed. |
Username | A valid database username. | Incorrect values will produce authentication errors. |
Password | A valid database password. | Incorrect values will produce authentication errors. |
Options | Optional. Database-specific connection parameters. Primarily used with Progress socket options and special "3-Tier" DSNs. | Due to the variety of parameters that may be passed, there is no specific error associated with this parameter. When values are passed to Options, you must ascertain why the values are being passed. This parameter should only be used to pass Progress sockets parameters or database-native client parameters that facilitate connection to a remote database via a local database native client. In other words, with an exception being made for Progress databases, you would only use this field if you had a database installed on a remote machine with no |
An integer, which represents the number of rows to return during one fetch operation. | An inappropriate value will cause performance issues. You can test with the values 1 and 99. Performance boosts with low numbers indicates database performance problems. Performance boosts with high numbers denotes network latency issues. | |
Boolean. Enables or disables read-only access to the database. | Errors are not associated with |
|
Boolean. Pushes binary objects to the end of the result set. Smaller data types are retrieved first. This enhances performance. | No errors are associated with |
Referenced by...