Skip Headers

Oracle Transparent Gateway for iWay Installation and User's Guide
Release 9.2.0.4 for IBM z/OS (OS/390)

Part Number B10580-01
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

1
Introduction

Oracle Enterprise Gateways simplify complex systems and remove obstacles to information.  For detailed information on Oracle Heterogeneous Services, refer to Oracle9i Heterogeneous Connectivity Administrator's Guide.

This chapter contains the following topics:

Version 9 Gateways

The Oracle9i database server continues to improve its distributed database facilities that make the integration of enterprise data practical.  Data can be accessed remotely using both SQL and PL/SQL procedure calls in a transparent manner, as if the data were local.  Also, data can be stored in both Oracle9i database servers and non-Oracle servers.

Version 9 gateways are tightly integrated with the Oracle9i database server, enabling improved performance and enhanced functionality while still providing transparent integration of Oracle and non-Oracle data.  For example, connection initialization information is available in the local Oracle database server, reducing the number of round trips and the amount of data sent over the network.  Running SQL is also faster, because statements issued by an application are parsed and translated once and can then be reused by multiple applications.

Version 9 gateways leverage the enhancements in the Oracle9i database server, and you can quickly extend those benefits to your non-Oracle data.

Advantages of the Gateway

Oracle Transparent Gateway for iWay enables Oracle client applications to access the iWay Server through Structured Query Language (SQL).  The gateway and Oracle9i database server together create the appearance that all data resides on a local Oracle9i database server, even though data might be widely distributed.  If data is moved from an iWay Server database to an Oracle database server, then no changes in client application design or function are needed.  The gateway handles all differences in data types and SQL functions between the application and the database.

Oracle Transparent Gateway for iWay gives you the power to integrate your heterogeneous system into a single, seamless environment, enabling you to make full use of existing hardware and applications throughout your corporate-wide environment.  You can eliminate the need to rewrite applications for each configuration and avoid the tedious, error-prone process of manual data transfer.  Together with the Oracle tools, networking, and data server technology, Oracle Transparent Gateway for iWay sets the standard for seamless, enterprise-wide information access.

Transparency at All Levels

By using Oracle Transparent Gateway for iWay, you can achieve transparency at every level within your enterprise.

Extends Database Services

Following are some of the more sophisticated Oracle9i database server services that are available through the gateway.

Extends Advanced Networking, Internet, and Intranet Support

The gateway integration with the Oracle9i database server extends to non-Oracle data the benefits of the Oracle Internet and Oracle Net, and the Oracle client/server and server/server connectivity software.  These powerful features include:

Dynamic Dictionary Mapping

Inefficient duplication is not necessary with Oracle Transparent Gateway for iWay.  This Oracle gateway uses the existing native dictionaries of iWay Server.  Your applications access data by using the dictionaries that are designed specifically for each database, which means that no redundant dictionary ever needs to be created or maintained.  The simple setup of the gateway does not require any additional mapping.

Before an application can access any information, the application must be told the structure of the data, such as the columns of a table and their lengths.  Many products require administrators to manually define this information in a separate data dictionary that is stored in a hub.  Applications then access information using the hub dictionary instead of using the native dictionaries of each database.  This approach requires a great deal of manual configuration and maintenance on your part.  As administrators, you must update the data dictionary in the hub whenever the structure of a remote table is changed.

SQL

Oracle Transparent Gateways ease your application development and maintenance by allowing you to access any data using a uniform set of SQL.  Changes to the location, storage characteristics, or table structure do not require any changes to your applications.  ANSI and ISO standard SQL are supported, along with powerful Oracle extensions.

Stored Procedures

The gateway enables you to exploit both Oracle and non-Oracle stored procedures, leveraging your investments in a distributed, multi-database environment.  Oracle stored procedures can access and update multiple data stores easily, without any special coding for the heterogeneous data access.

Oracle Stored Procedures

Oracle stored procedures enable you to access and update iWay Server data using centralized business rules that are stored in the Oracle9i database server.  Using Oracle stored procedures can increase your database performance by minimizing network traffic.  Instead of sending individual SQL statements across the network, an application can send a single EXECUTE command to begin an entire PL/SQL routine.

Native Stored Procedures with iWay Server

The gateway can run iWay Server stored procedures using standard Oracle PL/SQL.  The Oracle application runs the iWay Server stored procedure as if it were an Oracle remote procedure.

Applications

Any application or tool that supports the Oracle9i database server can access more than 30 different data sources through the Oracle gateways.  A wide variety of open system tools from Oracle Corporation and third-party vendors can be used, even if the data is stored in legacy, proprietary formats.  Hundreds of tools are supported, including improvised query tools, web browsers, turnkey applications, and application development tools.

Oracle Developer

Use Oracle Developer to build applications that can manipulate data that is stored in your iWay Server database and Oracle database server.  This includes designing forms, producing graphic displays, and creating a wide range of objects.

Oracle Discoverer

Use Oracle Discoverer to analyze, manipulate, and copy data residing in your iWay Server database.  This product gives you access to corporate data using a powerful data analysis tool.

SQL*Plus

Use SQL*Plus for moving data between the databases.  This product gives you the ability to copy data between your department databases and your corporate Oracle database servers.

Oracle Database Server Technology and Tool

The gateway is integrated into the Oracle9i database server technology, which provides global query optimization, transaction coordination for multisite transactions, support for all Oracle Net configurations, and so on.  Tools and applications that support the Oracle9i database server can be used to access heterogeneous data through the gateway.

Two-Phase Commit and Multisite Transactions

Oracle transparent gateways can participate as a partner in multisite transactions and two-phase commit.  How this occurs depends on the capabilities of the underlying data source, meaning that a gateway can be implemented as any one of the following:

The deciding factors for implementing a gateway are the locking and transaction-handling capabilities of your target database.

Oracle Transparent Gateway for iWay is implemented only as a single site update partner protocol.  Other protocols are not supported.

Site Autonomy

All Oracle database server products, including gateways, supply site autonomy.  For example, administration of a data source remains the responsibility of the original system administrator.  With site autonomy implemented, gateway products do not override the security methods of the data source or of the operating environment.

Migration and Coexistence

The integration of a data source through the gateway does not require any changes to be made to applications at the data source.  As a result of this, the Oracle database server technology is non-intrusive, providing coexistence and an easy migration path.

Security

The gateway does not bypass existing security mechanisms.  Gateway security coexists with the security mechanisms already used in the operating environment of the data source.

Functionally, gateway security is identical to that of an Oracle database server, as described in the Oracle9i Database Administrator's Guide.  Oracle database server security is mapped to the data dictionary of the data source.

Protection of Current Investment

With the gateway, you can continue to develop your information systems without foregoing your investments in current data and applications.  Access your Oracle and iWay Server data with a single set of applications and continue to use existing IBM applications to access your IBM data.  You can also use more productive database tools and move to a distributed database technology without giving up access to your current data.

If you want to migrate to Oracle database server technology and productivity, then the gateway allows you to control the pace of your migration.  As you transfer applications from your previous technology to the Oracle database server, you can use the gateway to move the iWay Server data into Oracle database servers.

Gateway Architecture

Oracle Transparent Gateway for iWay is a complete, ready-to-use solution combining proven technologies from Oracle and from Information Builders Incorporated (IBI).  With Oracle Transparent Gateway for iWay, Oracle users on any platform can use SQL for read and write access of mainframe data stores without knowing the physical location of the data, the network protocol, or the operating system.

Figure 1-1 Oracle Transparent Gateway for iWay

Text description of 1_1.gif follows

Text description of the illustration 1_1.gif

Your existing OS/390 systems can run undisturbed while Oracle applications access legacy data.  As with the other Oracle gateways, Oracle Transparent Gateway for iWay makes access to non-Oracle data transparent to your Oracle applications.  With no special programming, you can integrate legacy data and create true enterprise information systems.  Oracle Transparent Gateway for iWay provides access to many databases and file systems, including those in the following list:

For a complete list of the available iWay data adaptors, refer to your iWay documentation.

Ease of Implementation

Implementation is made simple with an integrated solution combining the gateway technology and the iWay Server in a single package.  The complete solution is acquired from Oracle or from IBI.  The product is supported by Oracle Support Services.

Components and Requirements

For a fully functional gateway, you need the following components:

Oracle Transparent Gateway for iWay and the iWay Server must run on OS/390.  The Oracle9i database server can run on any Oracle-supported platform.

The gateway requires Oracle Net for communication between the Oracle9i database server and the gateway if the Oracle9i database server is not on OS/390.

How the Gateway Works

The gateway has no database functions.  The gateway provides an interface by which the Oracle database server can direct SQL operations to the iWay Server.

Using a database link, the gateway is identified to the Oracle database server.  The database link is the same construct that is used to identify other Oracle database server instances.  Data that is stored in the target data stores is retrieved in the form of relational tables from the iWay Server.  These iWay Server tables are referenced in SQL as:

table_name@dblink_name

or

owner.table_name@dblink_name

If you create synonyms or views in the Oracle database server, then you can refer to the iWay Server tables on the mainframe data server by using simple names as though the table were local to the Oracle database server.

When the Oracle database server encounters a reference to an iWay Server table, the applicable portion of the SQL statement is sent to the gateway for processing.  Any host variables that are associated with the SQL statement are bound to the gateway and, therefore, are bound to the iWay Server.

The gateway is responsible for sending these SQL statements to the iWay Server for execution and for fielding and returning responses.  The responses are data or messages.  Any conversions between Oracle data types and iWay Server data types are performed by the gateway.  The Oracle database server and the application read and process only Oracle data types.

SQL Differences

Not all SQL implementations are the same.  The Oracle9i database server supports a larger set of SQL functions than are supported by the iWay Server.  The Oracle9i database server and the gateway work together to convert SQL to a form compatible with the iWay Server.

The Oracle9i database server withholds functions that are not executable by the iWay Server and performs those functions after rows are fetched from the iWay Server.  This is known as postprocessing.  Refer to Chapter 9, "Developing Applications", for more information.


Go to previous page Go to next page
Oracle
Copyright © 1995, 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents
Go To Index
Index