+ All Categories
Home > Documents > ©HCCS & IBM® 2008 Stephen Linkin1 Database Management Systems On z/OS Stephen S. Linkin Houston...

©HCCS & IBM® 2008 Stephen Linkin1 Database Management Systems On z/OS Stephen S. Linkin Houston...

Date post: 24-Dec-2015
Category:
Upload: leo-preston
View: 219 times
Download: 2 times
Share this document with a friend
Popular Tags:
18
©HCCS & IBM® 2008 Stephen Linkin 1 Database Management Systems On z/OS Stephen S. Linkin Houston Community College © HCCS and IBM 2008
Transcript

©HCCS & IBM® 2008 Stephen Linkin 1

Database Management Systems On z/OS

Stephen S. LinkinHouston Community College

© HCCS and IBM 2008

©HCCS & IBM® 2008 Stephen Linkin 2

Database Management Systems For The Mainframe

What Is A Database? Why Use A Database? Who Is The Database Administrator?

©HCCS & IBM® 2008 Stephen Linkin 3

How Is A Database Designed?

Major Definitions Entities Data Attributes Entity Relationships

ORDER

Ord No: 12345

Cust: Acme Widgets

ITEMS

1. Boxes

2. Widgets

3. Coyotes

©HCCS & IBM® 2008 Stephen Linkin 4

How Is A Database Designed?

Major Definitions Entities Data Attributes Entity Relationships

Application Functions Access Paths

©HCCS & IBM® 2008 Stephen Linkin 5

What Is A Database Management System?

What Structures Exist In A Relational Database? Database Tables Indexes Keys

©HCCS & IBM® 2008 Stephen Linkin 6

What Is DB2?

Data Structures In DB2 Views Table Space Index Space Storage Groups

©HCCS & IBM® 2008 Stephen Linkin 7

What Is DB2?

Schema Structures User-defined Data Type (UDT) User-Defined Function (UDF) Trigger Large Object (LOB)

Binary Large Objects (BLOB’s) Character Large Objects (CLOB’s)

Double Byte Character Large Objects (DBCLOB’s)

Stored procedure

©HCCS & IBM® 2008 Stephen Linkin 8

What Is DB2?

System structures Catalog and directory Buffer pools Active and archive logs

©HCCS & IBM® 2008 Stephen Linkin 9

What Is DB2?

DB2 Address Spaces System services Database services Lock manager services (IRLM)

Using DB2 Utilities Using DB2 Commands

©HCCS & IBM® 2008 Stephen Linkin 10

What Is SQL?

DML DDL DCL

©HCCS & IBM® 2008 Stephen Linkin 11

Application Programming For DB2

DB2 program preparation: the flow DCLGEN

PRECOMPILE

©HCCS & IBM® 2008 Stephen Linkin 12

Application Programming For DB2

DB2 program preparation: the flow DCLGEN

PRECOMPILE BINDEXEC SQL

SELECT EMPNO, LASTNAME INTO :EMPNO, :LASTNAME FROM EMPEND-EXEC.

©HCCS & IBM® 2008 Stephen Linkin 13

Application Programming For DB2

DB2 program preparation: the flow DCLGEN

PRECOMPILE BIND RUN

©HCCS & IBM® 2008 Stephen Linkin 14

Functions Of The IMS Database Manager

©HCCS & IBM® 2008 Stephen Linkin 15

Structure Of The IMS Database Subsystem

©HCCS & IBM® 2008 Stephen Linkin 16

Structure Of The IMS Database Subsystem

The IMS Hierarchical Database Model Data Access Sequence

©HCCS & IBM® 2008 Stephen Linkin 17

Structure Of The IMS Database Subsystem

The IMS Hierarchical Database Model Data Access Sequence

IMS Use Of z/OS Services Evolution Of IMS

©HCCS & IBM® 2008 Stephen Linkin 18

Summary

Read The Redbook


Recommended