![]() | ![]() |
Home |
|
|
Installation and Reference Guide ClearConnect 1.3 |
|
| Chapter 2: Introducing ClearConnect |
This chapter provides an overview of ClearConnect and DRDA.
It includes the following topics:
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
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."
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".
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:
Note: ClearConnect operates as a shared system library (a DLL on Windows).
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 
The steps that ClearConnect performs in the preceding figure are as follows:
To connect a client to its target, the distributed client/server database environment uses two levels of configuration, shown in the following table:
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
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
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
ClearConnect provides the following features:
Two major requirements exist for the ClearConnect product:
The following subsections describe each requirement.
ClearConnect supports the following communications software:
Note: If DB2/MVS is used with SNA, VTAM version 3, release 3 or later is required.
The following subsections describe the requirements for various client platforms.
Clients based on Windows 3.1 or Windows for Workgroups require a minimum of the following:
Install the SNA Server client software on Windows 3.1 and Windows for Workgroup clients by attaching to SNA Server, which resides on a Windows NT system. Then, Windows 3.1 and Windows for Workgroup clients can communicate with the mainframe.
Windows 95-based clients require a minimum of the following:
Install the SNA Server client software on Windows 95 clients by attaching to SNA Server, which resides on a Windows NT system. Then, Windows 95 clients can communicate with the mainframe.
Windows NT-based clients require a minimum of the following:
If SNA Server is running on a different Windows NT machine, you must install the SNA client software on this machine to communicate with the mainframe.
ClearConnect support has restrictions that are consistent with other DRDA Application Requester (AR) implementations, as follows:
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.
|
|