Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Chapter 1: Understanding Enterprise Connect [Table of Contents] Chapter 3: Installation Guidelines and Quick Start Steps

Installation and Reference Guide ClearConnect 1.3

[-] Chapter 2: Introducing ClearConnect

Chapter 2

Introducing ClearConnect

This chapter provides an overview of ClearConnect and DRDA.
It includes the following topics:

General Information

ClearConnect provides a seamless, direct attachment from Open Database Connectivity (ODBC) client applications to DB2 databases. ClearConnect allows ODBC applications to query and update DB2 databases from any client machine that runs it. This ability expands the scope of databases that ODBC applications can operate against, and provides a way for clients connected on a LAN or WAN to access DB2 databases.

When used with third party products, such as InfoHub, ClearConnect can access and update nonrelational "legacy" data on IBM mainframes, for example, ADABAS, IDMS, CA-DATACOM, VSAM, and IMS(TM) DL/1 databases. ClearConnect software allows users to access a wide range of relational and nonrelational data from a single ODBC driver.

ClearConnect runs on the following Microsoft platforms:

The following figure shows the types of client/server configurations that ClearConnect supports.

Figure 2-1: Supported client/server configurations
raster

What is ClearConnect?

Using the IBM-defined Distributed Relational Database Architecture (DRDA) protocol, the ClearConnect software product provides a connection from an ODBC application, such as PowerBuilder, Access, or Excel, to an IBM DATABASE 2 (DB2) relational database management system, or to any other certified DRDA application server, such as the InfoHub server. ClearConnect is designed for DB2 databases and application servers that are configured for DRDA functionality.

ClearConnect is composed of two layers of software:

For a list of the ODBC commands and datatypes that ClearConnect supports, see Appendix A, "ODBC SQL Commands and Datatype Conversion."

What is DRDA?

DRDA is an IBM application-level protocol that transfers database and stored procedure requests and replies between clients and servers. It describes the form and content of the following:

DRDA supports client/server communication between the following:

Over 14 major vendors support DRDA in their products, making it a multi-vendor solution for client/server database access.

For more information about DRDA, see the references listed in "Related Documents".

How ClearConnect Works with DRDA

ClearConnect is a middleware software component that is ODBC-compliant. Using the DRDA protocol, ClearConnect allows desktop applications to access host-based and minicomputer-based DB2 relational databases.

This section explains:

Flow of SQL Requests

The following figure shows how SQL requests travel from the client ODBC application through ClearConnect for execution. It also shows the result data returns from the database server to the requesting client.

Figure 2-2: Process flow of requests and returned results
raster

The steps that ClearConnect performs in the preceding figure are as follows:

  1. ClearConnect accepts ODBC API calls from ODBC applications or tools, and then creates a DRDA request by converting them into DRDA SQL requests and DRDA parameters
    (called "parms" in Figure 2-2). Then, it sends these requests to the target database.

  2. ClearConnect executes the client's associated SQL statement or stored procedure request against the target DBMS.

  3. ClearConnect retrieves the results from the target DBMS.

  4. ClearConnect converts the returned datatypes from the target DBMS into a datatype format acceptable to the ODBC client, for example, EBCDIC to ASCII, big endian 370 to little endian 80x86 integers, and so on.

  5. ClearConnect returns the results of the SQL statement or stored procedure to the requesting ODBC application.

Connecting Clients to Targets

To connect a client to its target, the distributed client/server database environment uses two levels of configuration, shown in the following table:

Table 2-1: Configuration levels for distributed client/server database

Type of configuration

Description

Client-to-server database configuration information

Carries information about the target database the client wants to connect to, such as what levels of locking (cursor stability, repeatable read, and so forth) are wanted.

Networking configuration

Physically connects the client machines to the server machines. This specifies the SNA or TCP/IP networking information that allows the client and server machines to communicate with each other over a LAN- or WAN-based network.

This information is usually the Host Names (TCP/IP) of the machines or the LU Names (SNA) that identify the machines.

Using information from these two configuration levels, ClearConnect and DRDA can connect client PCs to the target server, as shown in the following figure:

Figure 2-3: ClearConnect and DRDA connecting clients to target
raster

Note: IBM refers to the target DBMS server as the Remote Location Name (RDB_NAME). ODBC application programs use these logical unit (LU) names of the DRDA database servers to connect to the target database system.

As shown Figure 2-3, client/server configuration information allows the client to communicate with the servers.
The client issues a SQLConnect request to a specific ODBC data source, which is converted to a DB2 Location Name. Then, DRDA routes the request to the correct database server with that logical name. In reality, the preceding conceptual system must be built on top of a computer network and the networking software that ties the various machines together.

The networking configuration information allows clients and servers to communicate. The following figure shows the client/server networking components for an SNA environment.

Figure 2-4: Client/server components in an SNA environment
raster

The following figure shows the database clients and server with their associated networking components for a TCP/IP environment.

Figure 2-5: Client/server components in a TCP/IP Environment
raster

Features of ClearConnect

ClearConnect provides the following features:

Product Prerequisites

Two major requirements exist for the ClearConnect product:

The following subsections describe each requirement.

Communications Software

ClearConnect supports the following communications software:

Client Platforms

The following subsections describe the requirements for various client platforms.

Windows 3.1 or Windows for Workgroups Clients

Clients based on Windows 3.1 or Windows for Workgroups require a minimum of the following:

Windows 95 Clients

Windows 95-based clients require a minimum of the following:

Windows NT Clients

Windows NT-based clients require a minimum of the following:

Restrictions

ClearConnect support has restrictions that are consistent with other DRDA Application Requester (AR) implementations, as follows:

Getting Ready for Setup

Before you begin, be sure to copy the Installation Worksheet pages from Chapter 3, "Installation Guidelines and Quick Start Steps." When completed, the Installation Worksheet gives you, your DB2 database administrator (DBA), and your network administrator the list of parameters needed to install ClearConnect.

Note: Be sure to allow time to research information for the Installation Worksheet.


Chapter 1: Understanding Enterprise Connect [Table of Contents] Chapter 3: Installation Guidelines and Quick Start Steps