Book description
In 1978 IBM introduced the System/38 as part of its midrange platform hardware base. One of the many outstanding features of this system was the built-in Relational Database Management System (RDMS) support. The system included a utility for defining databases, screens, and reports. This utility used a form named Data Description Specifications (DDS) to define the database physical (PF) and logical (LF) files (base tables, views, and indexes).
In 1988, IBM announced the AS/400. The OS/400 operating system also contained a built-in RDMS, however, IBM offered Structured Query Language (SQL) as an alternative to DDS for creating databases. In addition, SQL Data Manipulation Language (DML) statements were made available as an ad hoc query language tool. These statements could also be embedded and compiled within high level language (HLL) programs.
SQL Data Definition Language (DDL) has become the industry standard for defining RDMS databases.
Many customers are in the process of modernizing their database definition and the database access. This IBM Redbooks publication will help you understand how to reverse engineer a DDS-created database along, and provides you with tips and techniques for modernizing applications to use SQL as the database access method.
Additional Resources on DB2 for i Modernization:
DDS and SQL - The Winning Combination for DB2 for i
Modernization
Case Study:Modernizing a DB2 for i Application
Moving from OPNQRYF to SQL
Case
Study:DB2 for i SQL Performance
DB2 for i Modernization Workshop
Modernizing Database Access - The Madness Behind the
Methods
Table of contents
- Notices
- Preface
- Part 1: Introduction and background
-
Part 2: Data definition
- Chapter 3: Approaches and options
-
Chapter 4: Modernizing database definitions
- Reverse engineering DDS to SQL DDL (1/4)
- Reverse engineering DDS to SQL DDL (2/4)
- Reverse engineering DDS to SQL DDL (3/4)
-
Reverse engineering DDS to SQL DDL (4/4)
- Classify the existing environment
- Establishing a list of all DDS files to be converted
- Establishing naming conventions for SQL objects
- Converting the DDS to SQL DDL
- Reviewing the generated SQL DDL
- Creating the new DB2 schema on the iSeries server
- Create all existing DDS logical files over the new SQL tables
- Migrate data and test existing programs
- Comparing the SQL objects and the DDS files
- SQL system catalogs: Definitions
- Partitioned tables
-
Part 3: Data access
- Chapter 5: Creating I/O modules to access SQL objects
- Chapter 6: Moving business rules to the database
-
Chapter 7: Embedded SQL
- How to get started
- Creating a SQLRPG - Program/service program/module
- Compile command CRTSQLRPGI
- Error handling - SQLCA (SQL communications area)
- Host variables
- Exploiting SQL scalar functions in RPG
- Static SQL without cursor
- Using a cursor (1/3)
- Using a cursor (2/3)
- Using a cursor (3/3)
- Dynamic SQL (1/2)
- Dynamic SQL (2/2)
-
Chapter 8: Externalizing data access
- Trigger programs (1/4)
- Trigger programs (2/4)
- Trigger programs (3/4)
- Trigger programs (4/4)
- Stored procedures (1/3)
- Stored procedures (2/3)
- Stored procedures (3/3)
- User defined functions (1/3)
- User defined functions (2/3)
- User defined functions (3/3)
- SQL programming language (1/2)
- SQL programming language (2/2)
-
Chapter 9: Other considerations
- Comparing RPG and SQL data types (1/4)
- Comparing RPG and SQL data types (2/4)
- Comparing RPG and SQL data types (3/4)
- Comparing RPG and SQL data types (4/4)
- NULL values (1/2)
- NULL values (2/2)
- Date and time calculation (1/6)
- Date and time calculation (2/6)
- Date and time calculation (3/6)
- Date and time calculation (4/6)
- Date and time calculation (5/6)
-
Date and time calculation (6/6)
- Converting from numeric/character date values to real date values
- Converting from date fields to character or numeric representation
- Checking for a valid date or time
- Retrieving current date and time
- Adding and subtracting date and time values
- Calculating date and time differences
- Extracting a portion of a date, time, or timestamp
- Additional SQL scalar functions for date calculation
-
Part 4: Tools
-
Chapter 10: DB2 Development Tools
- WebSphere Development Studio Client for iSeries (WDSC) (1/2)
- WebSphere Development Studio Client for iSeries (WDSC) (2/2)
- iSeries Navigator (1/2)
- iSeries Navigator (2/2)
- OS/400 utilities
- DB2 Development Center
- DB2 Query Management Facility (1/3)
- DB2 Query Management Facility (2/3)
- DB2 Query Management Facility (3/3)
- Related publications
- Index (1/2)
- Index (2/2)
- Back cover
-
Chapter 10: DB2 Development Tools
Product information
- Title: Modernizing IBM eServer iSeries Application Data Access - A Roadmap Cornerstone
- Author(s):
- Release date: February 2005
- Publisher(s): IBM Redbooks
- ISBN: None
You might also like
book
DB2 Universal Database for iSeries Administration: The Graphical Way on V5R3
iSeries Navigator for IBM i5/OS and OS/400 is the graphical interface to manage your IBM eServer …
book
IBM PowerVM Best Practices
This IBM® Redbooks® publication provides best practices for planning, installing, maintaining, and monitoring the IBM PowerVM® …
book
Building SOA-based Solutions for IBM System i Platform
There is a strong shift in the industry toward reuse of the existing software and hardware …
book
Integrating Backup Recovery and Media Services and IBM Tivoli Storage Manager on the IBM eServer iSeries Server
IBM Backup Recovery and Media Services (BRMS) for the IBM eServer iSeries server is the strategic …