Overview

Introduction

This manual describes the ACCENT R interface to Oracle and how ACCENT R manipulates Oracle data.  The Oracle database is a relational database engine that supports SQL (Structured Query Language).  This manual shows how to establish communication between Oracle and ACCENT R and how to retrieve, update, insert, or delete data using On-line SQL and ACCENT R SPL (Structured Programming Language).  The interface between ACCENT R and Oracle that is covered in this manual is for VAX/VMS systems only.

This manual describes some of the capabilities of the Oracle relational database management system and how ACCENT R Open SQL opens that system to other database methodologies.  ACCENT R Open SQL removes restrictions in database access typically found using 4th generation application development and SQL as a data manipulation paradigm.  Open SQL statements can be embedded directly into SPL (Structured Programming Language) Process Modules or can be generated through the 4th Generation Tools.  See Figure 4.

This manual assumes that you are somewhat familiar with ACCENT R and Oracle.  ACCENT R and Oracle are terms used throughout this manual to refer to all ACCENT R products and Oracle license types, respectively.  For specific information, see the ACCENT R Professional Desk Reference Set and the Oracle RDBMS SQL Language Reference Manual.

The SQLgateway to Oracle

Oracle is a relational database management system (RDBMS) marketed by Oracle Corporation.  The use of Oracle is defined by your VAX/VMS license agreement.  ACCENT R Open SQL connects to all license types of Oracle through the SQLgateway to Oracle.

ACCENT R relies upon Oracle to function as a database server or database engine.  ACCENT R functions as a client in this relationship.  The database engine, Oracle in this case, handles the “nuts and bolts” of the application development system.  Together with the central application repository within ACCENT R, Oracle stores and manages the definitions of data structure, handles the indexing, and conducts data storage, retrieval and updating operations.

The SQLgateway to Oracle can be used with ACCENT R to develop applications which interact with other Oracle software products such as SQL* Forms and SQL* Report writer.  Through Open SQL, ACCENT R permits interoperability among many Oracle software products and across hardware platforms.  For example, it is possible to access Oracle databases created with ACCENT R from the IBM PC and mainframe.  ACCENT R connects to Oracle using Pro* C, an ANSI-compliant implementation of SQL data manipulation language.

Click here to view Figure 4 Database Access Model

Click here to view Figure 5 Software Implementation/Maintenance Model

ACCENT R’s 4GL combined with Open SQL offers a total development environment.  ACCENT R provides Open SQL statements to retrieve and update data on the Oracle database from within a Process Module (Table 1).  Also within ACCENT R is a powerful version of On-line SQL called OSQL.  OSQL contains ANSI-standard SQL syntax which has been extended to support fast application prototyping and development (Table 2).  Some of the unique features are:

SQL BEGIN WORK
SQL COMMIT WORK
SQL DELETE
SQL FETCH
SQL INSERT
SQL ROLLBACK WORK
SQL SELECT
SQL UPDATE

Figure 6 Open SQL Statements
Extensions to SPL and embedded in PM (Process Module) Objects

OSQL BUILD
OSQL CREATE DS
OSQL DELETE
OSQL EDIT
OSQL EXPORT
OSQL HELP
OSQL IMPORT
OSQL MENU
OSQL SELECT
OSQL UPDATE
OSQL USE

Figure 7 Open SQL Commands - Extensions to ICL and
embedded in CM Objects or typed interactively

Organization of this Manual

Here are the topical sections presented in this manual.

Terminology

Figure 8 shows ACCENT R terms and the corresponding Open SQL terms.

ACCENT R DB-MACH2 & RMS
ACCENT R Open SQL
DBL
Oracle Server
SD (Schema Definition) Object
Table
DS (Data Set) Object
Record
Row
Field
Column

Figure 8 ACCENT R and Open SQL Terms

Data Base Library Objects

All of the objects or pieces of the application are stored in the Data Base Library (DBL).  Each of the 13 different object types plays a role in the development of the application.  For more information about the function of DBL objects, read the Technical Survey of ACCENT R which is included as a preface to this manual.  Figure 9 depicts the function of the DBL.  Figure 5 shows the function for each DBL object type.

Figure 9 Function of the DBL

OBJECT ID

OBJECT NAME

OBJECT PURPOSE

CF

Control File

DB-MACH2 RDBMS Simultaneous Update

CM

Command Module

Interactive Command Language (ICL) Statements

CS

Code Segments

Modular Code Storage

DBL

Data Base Library

The Central Application Repository

DI

Data Index

DB-MACH2 RDBMS/RMS Index Definition

DS

Data Set

Table Definitions containing columns for Database Servers

FS

Find Subset

Row Subsets for Data Sets

GS

Global Storage

Common Block for Variables/Global Sections

ID

Index Definition

General Index Definition

PM

Process Module

Structured Programming Language (SPL) Statements

SD

Schema Definitions

Describes Rows in Data Sets

SF

System File

Files in VMS directories catalogued for ACCENT R

SI

System Information

Free Format Text Library

Figure 10 DBL Objects

More information about the function of each object can be obtained from Volume I of the ACCENT R Professional Desk Reference Set or from the Technical Survey of ACCENT R included as a preface to this manual.

The simplest Oracle application will consist of just a few of the possible object types.  An application requires that a DBL (Data Base Library) be present.  The DBL serves as a data dictionary, a configuration and control mechanism, and an application repository.

back to Preface    next page