Version 4.2.6 for Mainframes (Update)
 —  Database Management System Interfaces  —

Introduction to Natural SQL Gateway

This section covers the following topics:


Purpose and Usage

With Natural SQL Gateway, a Natural user residing on z/OS can access data in an SQL database residing either on a UNIX or a Windows system.

In general, there is no difference between using Natural with an SQL database and using it with Adabas, VSAM or DL/I. Natural SQL Gateway allows Natural programs to access SQL data, using the same Natural DML statements that are available for Adabas, VSAM, and DL/I.

Therefore, programs written for SQL tables can also be used to access Adabas, VSAM, or DL/I databases. Moreover, some additional Natural SQL statements are available.

Top of page

Product Structure

Natural SQL Gateway is comprised of the following parts:

The z/OS section in the figure above differs depending on whether the SQL program runs in Batch/TSO or within a TP environment.

SQL Program Running under Batch/TSO

The following figure shows the constellation under batch/TSO.

The ConnecX Client (namely API3GL) is directly linked to the Natural SQL program.

SQL Program Running in a TP Environment

The following figure shows the constellation if the SQL program runs within a TP environment.

Since the ConnecX Client is not capable to run in a TP environment, it is moved into the Natural SQL Gateway server process, which runs in a batch environment. The Natural SQL Gateway Client and the Natural SQL Gateway server are responsible for transmitting the SQL requests from the Natural program to the JDBC server and the results backward.

Top of page