INTERSOLV DB2 ODBC Driver
\The Sandbox \PB History & Future \New In PB6 \Database Connectivity \INTERSOLV DB2 ODBC Driver
UI for
DB Profiles
INFORMIX 7.x
DB Interface
Oracle 7.3
DB Interface
Oracle 8.0
DB Interface
INTERSOLV DB2
ODBC Driver
Sybase Open
Client 11.1
Sybase 10 & 11
Dist App Interface
Release DBParm
Sybase OC
11.1 Security
Sybase OC
11.1 Directory
Accessing MS
SQL Server 6.5
ODBC 3.0
Sybase
DirectConnect
CommitOn-
Disconnect
DateTimeAllowed
DBParm
DBGatewayUDT
DBParm
FormatArgsAsExp
DBParm
HostReqOwner
DBParm
LowerCaseIdent
DBParm
ModifySyntax
DBParm
PWDialog
DBParm
TableCriteria
DBParm
ThreadSafe
DBParm
TrimSpaces
DBParm
TRS DBParm
AutoCommit in
Net-Gateway
PBCatalogOwner
in Oracle
Increased
DBParm Strings
PRINT Stmts
in Stored Procs
Nondefault DB
Trace Log File
Automatically
Connect to DB

Description

PowerBuilder and InfoMaker now provide the INTERSOLV DB2 ODBC driver for access to the IBM DB2 family of databases through the Powersoft ODBC interface. The DB2 family of databases includes:

  • DB2 for Windows NT
  • DB2 for OS/2 (formerly Database Manager for OS/2)
  • DB2/6000

The INTERSOLV DB2 ODBC driver goes through IBM Client Application Enabler (CAE) Version 2.1 client software to make the connection. Therefore, you must have CAE Version 2.1 or higher installed on your client machine to use the INTERSOLV DB2 ODBC driver.

Supported platforms

The INTERSOLV DB2 ODBC driver is available on the following operating system platforms:

  • Windows NT
  • Windows 95
  • Windows 3.x
  • UNIX (Solaris, HP-UX, and AIX)

Purpose

The INTERSOLV ODBC DB2 driver lets you access an IBM DB2 database in PowerBuilder or InfoMaker through the Powersoft ODBC interface and CAE Version 2.1 or higher client software.

Preparing to use the DB2 data source

Before you define and connect to a DB2 data source in PowerBuilder or InfoMaker with the INTERSOLV DB2 ODBC driver, follow these steps to prepare the data source for use.

  • To prepare a DB2 data source for use with the INTERSOLV DB2 ODBC driver:

 

  1. Make sure the required database server and (if required) network software is installed.
  2. The IBM DB2 Server must be installed as the Server Version (not the Local Version).

  3. Make sure the IBM DB2 Client Application Enabler (CAE) software Version 2.1 or higher is installed on the client machine.
  4. Before the first user connects to the database in PowerBuilder or InfoMaker, run the appropriate bind file on the DB2 database server for the kind of cursor support you want.
  5. What you do  Before the first PowerBuilder or InfoMaker user connects to the database with the INTERSOLV DB2 ODBC driver, you must run one of the following DB2 SQL bind files once on the DB2 database server for the kind of cursor support you want:

Run this bind file

For this cursor support

QECSV1.BND

Read committed

QECSWHV1.BND

Read committed preserve cursor

QERRV1.BND

Repeatable read

QERRWHV1.BND

Repeatable read preserve cursor

QEURV1.BND

Uncommitted read

QEURWHV1.BND

Uncommitted read preserve cursor

    How you do it  To run a DB2 SQL bind file on the DB2 database server, you use the DB2 Command Line Processor that comes with the CAE client software. For instructions, see your IBM DB2 documentation.

    Where to find the bind files  The DB2 SQL bind files are located in the SERVER\INTERSOLV directory on the PowerBuilder or InfoMaker CD-ROM. They are not installed with PowerBuilder or InfoMaker.

Defining the DB2 data source

To connect to a DB2 database with the INTERSOLV DB2 ODBC driver, you must define a data source for the driver.

This procedure assumes that you have already prepared the DB2 data source for use (as described above) and installed the INTERSOLV DB2 ODBC driver that comes with PowerBuilder and InfoMaker.

  • To define a DB2 data source for the INTERSOLV DB2 ODBC driver:
  1. Display the Configure ODBC dialog box.
  2. Select the INTERSOLV DB2 driver and click Create.
  3. The ODBC DB2 Driver Setup dialog box displays.

  4. Click the Help button for information about how to specify values in the Setup dialog box.
  5. (Optional) Click the Advanced tab or button to configure additional connection options for the data source.
  6. Click Help for information about how to specify optional settings for the INTERSOLV DB2 driver.

  7. Click the Catalog Db tab or button to catalog any DB2 database you want to access.
  8. Click Help for information about how to catalog a DB2 database.

  9. Click the Catalog Node tab or button to provide required information about the remote node for DB2 databases.
  10. Click Help for information about how to catalog the remote node.

  11. (Optional) To select an ODBC translator to translate your data from one character set to another, click the Translate button on the Advanced tab or in the Advanced Driver Setup dialog box.
  12. Click OK to save the data source definition.
PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com