introduction to z/os basics © 2006 ibm corporation chapter 11: transaction managers on z/os

58
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Post on 21-Dec-2015

220 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Introduction to z/OS Basics

© 2006 IBM Corporation

Chapter 11: Transaction managers on z/OS

Page 2: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation2

Chapter objectives

Be able to: Describe the role of large systems in a

typical online business.

List the attributes common to most transactional systems.

Explain the role of CICS in online transaction processing

Describe CICS programs, CICS transactions, and CICS tasks

Explain what conversational and pseudo-conversational programming is

Explain CICS and Web-enabling

Discuss the IMS components

Page 3: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation3

Key terms in this chapter

BMP

BMS

conversational

CICS TS

CICS command

IRLM

multithreading

multitasking

task/thread

region

PSB

IMS TM

transaction

unit of work

two-phase commit

wireless access point (WAP)

Page 4: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation4

CSMG

Page 5: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation5

Example of online processing: a travel agency

Mainframe applications designed for:

– employee and customer information

– contacts with car rental companies

– hotels

– airline schedules

Changes must be immediately reflected to application end-users (in real time)

Contrast with batch processing

Page 6: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation6

Example of online processing (continued)

Car Rental Agency Hotel Airline

Travel Agency

WAP HTTP

Page 7: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation7

A practical example

CarRentalAgency

Hotel Airline

TravelAgency

WAP

HTTP

Page 8: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation8

Transactional systems

Requirements: ACID

Atomicity

Consistency

Isolation

Durability

Page 9: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation9

Transactional systems: terminology

Commit and roll back

Multitasking

Multithreading

Thread

Reentrancy

Page 10: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation10

Online Systems and Operating Systems

Managing and Dispatching tasks

Controlling user access

Managing use of memory

Managing concurrency to data

Providing device independence

Page 11: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation11

Characteristics of a transactional systems

Many users

Repetitive

Short interactions

Shared data

Data integrity

Low cost / transaction

Page 12: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation12

Two-phase commit

INITIATOR Agent of A Agent of B

Update local resources Update local resources Update local resources

Prepare Receive

Prepare Receive

SYNCPOINT

SYNCPOINT

Commit

Commit

SYNCPOINT

Phase 1

Phase 2

AA BB CC

Page 13: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation13

You can manage indoubt UOW

Page 14: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation14

What is CICS?

Customer Information Control System

Transactional subsystem of z/OS which:

– run online applications

– the same time, many users, same application(s)

– manages the sharing of resources

– integrity of data

– prioritization of execution, with fast response.

Page 15: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation15

CICS in a z/OS system

z/OSz/OS

Transactionalsystem

ApplicationApplicationProgramProgramDATADATA

User

Page 16: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation16

Languages & Platforms

Languages:

- COBOL

- OO COBOL

- C

- C++

- JAVA (JCICS)

- PL/I

- Assembler

Platforms:

- zSeries (z/OS, OS/390, VSE)

- Intel servers

- TXSeries (AIX, HP-UX, Solaris and Windows)

Page 17: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation17

Generating a CICS Application ProgramExample: COBOL

TranslatedProgram

ObjectModule

LinkEdit

LoadModule

ProgramLibrary

//DFHRPL DD DSN=CICSV3.SDFHLOAD1,DISP=SHR// DD DSN=CICSV3.SDFHLOAD2,DISP=SHR// DD DSN=CICSV3.ULOADLIB,DISP=SHR

1)

2)

3)

Page 18: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation18

CICS Programming roadmap

Design application

Write & test program (includes compiling)

Define program & transaction in CICS resources

Define other resources (files, queues, etc…) in CICS resources (via RDO – CEDA)

Make resources known to CICS

Page 19: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation19

CICS in one or multiple LPARSSYS 1LPAR ALPAR B

LPAR C

CICS

CICS CIC

SCICS CIC

S

OtherSubsyst

OtherSubsyst

OtherSubsyst

OtherSubsyst

OtherSubsyst Other

Subsyst

CICS

* A CICS subsystem may be composed of one or more address spaces to isolate functionality, administration and throughput. As an example: - TOR = Terminal Owning Region - AOR = Application Owning Region - FOR = File Owning Region - WOR = Web Owning Region - ROR = Routing Owning region

* This is a configuration known as: Multi Region Operation (MRO)

TORAOR

AOR

FOR

WORAOR

TerminalsPrograms

Files

} one address space containing all functions SYS 2

CICS

CICS

CICS

ROR

PPT

PCTFCT

TCT

* CICS has strong flexibility for business configuration needs thru table definitions Inter-System Communication (ISC)

Page 20: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation20

CICS Programs, Transactions, Tasks and Tables

Transaction Program Control Table (PCT)Application Program Program Processing Table (PPT)Files File Control Table (FCT)Terminals Terminal Control Table (TCT)

Table Definitions are usually performed by the CICS SystemsProgrammer through a CICS facility called Resource DefinitionOn-Line (RDO). It is invoke through a CICS Transaction byentering CEDA (CEDB,CEDC).

****

PPT

PCT

FCT

TCT

Page 21: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation21

Batch RDO

BatchRDO

Page 22: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation22

CICS Features

•Transaction Driven

•Multitasking

•Multithreading

•Quasi-reentrant

CICS

CICS

CICS

Page 23: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation23

A Task executing in Multi-Tasking

• Task Control• Application Program(s)• Basic Mapping Support• File Control• Program Control• Temporary Storage Control• Transient Data Control• Journal Control (logging)• Trace Control• Dump Control• Interval Control• Storage Control

Page 24: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation24

Terminal Control uses Basic Mapping Support

SEND API = displaying a screen to the terminalRECEIVE API = reading data from a screen from the terminalExample:

* EXEC CICS* SEND MAP (‘ORCHM01’)* MAPSET (‘ORCHM01’)* ERASE* END-EXEC. MOVE ‘ORCHM01’ TO DFHEIV1 MOVE ‘ORCHS01’ TO DFHEIV2 CALL ‘DFHEI1’ USING DFHEIV0 DFHEIV1 DFHEIV99 . . . .

During CICS program compile the API Commands arechecked for syntax and commented out. They arethen transformed into a starndard “CALL” to theCICS Stub-routines.

* EXEC CICS* RECEIVE MAP (‘ORCHM01’)* MAPSET(‘ORCHM01’)* INTO (workstorage area)* END-EXEC. MOVE ‘ORCHM01’ TO DFHEIV1 MOVE ‘ORCHM01’ CALL ‘DFHEI1’ USING DFHEIV0 DFHEIV1 …..

The DFHEIVxx variables are copied in automatically by the CICS translator into WORKING STORAGE i.e. DFHEIVAR COPYBOOK

Page 25: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation25

An example of BMS map definition

PRINT NOGENORCHM01 DFHMSD TYPE=MAP,MODE=INOUT,CNRL=FREEKB,LANG=COBOL,TIOAPFX=YESORCHM01 DFHMDI SIZE=(24,80) DFHMDF POS=(01,01),LENGTH=01,ATTRB=(ASKIP,DRK,FSET), x INITIAL=‘1’ DFHMDF POS=(01,25),LENGTH=3,ATTRB=(ASKIP,BRT), x INITIAL=‘PURCHASE ORDER - - - FILE INQUIRY’ DFHMDF POS(03,30),LENGTH=13,ATTRB=ASKIP, x INITIAL=‘ORDER NUMBER ’ORDER# DFHMDF POS=(03,44),LENGTH=10,ATTRB=(NUM,BRT,IC) DFHMDF POS=(04,32),LENGTH=11,ATTRB=ASKIP,INITIAL=‘DEPARTMENT’ * * * * * DFHMSD TYPE=FINAL

The MAPS are composed of three simple macros:DFHMSD – name of mapsetDFHMDI – name of map identificationDFHMDF – field screen definitions and location

Note: You can have several maps within a mapset definition

Page 26: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation26

Conversational Pseudo-ConversationalConversational:

UserTypesInputs

PROGV000

W AIT

Menu

Enter account ______Function code______

Menu

Enter account 1234_Function code M____

Record Update

Enter account 1234Name: SmithAmount: $10.00Date: 05/28/04

Menu

Enter account ______Function code______"Update confirmed"

UserTypesChanges

SEND MAP

RECEIVE MAPREAD FILE UPDATE

SEND MAP

RECEIVE MAPREW RITE FILE

SEND MAPRETURN

W AIT

Page 27: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation27

Conversational Pseudo-Conversational

Pseudo-Conversational:

UserTypesInputs

PROGV000

Menu

Enter account ______Function code______

Menu

Enter account 1234_Function code M____

Record Update

Enter account 1234Name: SmithAmount: $10.00Date: 05/28/04

Menu

UserTypesChanges

SEND MAP...RETURN TRANSID(V001)....

Enter account 1234Name: SmithAmount: $99.50Date: 05/28/04"Update Confirmed"

PROGV001

RECEIVE MAP.......READ FILE....... SEND MAP......RETURN TRANSID (V002)....

PROGV002

RECEIVE MAP.......READ FILE UPDATE....REW RITE FILE........ SEND MAP......RETURN TRANSID (V000)...

Page 28: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation28

CICS Programming commands General format:

EXECUTE CICS (or EXEC CICS) + command

e.g. in COBOL:

EXEC CICS function option option ... END-EXEC.

CICS command example :

EXEC CICS

READ FILE(‘ACCTFIL’)

RIDFLD(ACCTC)

UPDATE ...

END-EXEC.

Page 29: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation29

CICS transaction flow

Operating System

ABCDABCD TerminalControl

StorageMgmt.

ProgramProgramLibraryLibrary

File or DBFile or DB

SystemServices

11

22

33

Page 30: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation30

CICS transaction flow (Cont…)

Operating System

ProgramProgramLibraryLibrary

File or DBFile or DB

(menu screen)

ProgramProgramABCD01ABCD01

44

FileControl

BMS

55

Page 31: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation31

CICS transaction flow (Cont…)

Operating System

ProgramProgramLibraryLibrary

File or DBFile or DB

User'sNextInput

ProgramProgramABCD01ABCD01

66

88

FileControl

77

BMS

Page 32: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation32

CICS services for Application Programs Application program interface: use CICS

commands

Terminal control services: use Basic Mapping Support (BMS)

File & database control services:

– CICS file control (mainly VSAM)

– Database control (DL/I & DB2)

Other CICS Services: Task Control - Program Control - Temporary Storage (TS) & Transient Data Control (TD) - Interval Control - Storage Control - Dump & Trace Control

Page 33: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation33

Defining the screens BMS macros: a form of assembler language

Result of an assembles : Physical Map

Physical map contains info to :

– build the screen

– merge variable data between program & screen

– send variables back to program

Page 34: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation34

Program Control

CICSLevel 0CICS

Program1LINK ...RETURN

Program 2XCTL

Program 3LINK ...RETURN

Program 4

.....RETURN

Level 1

Level 2

Level 3

RETURNXCTLLINKLOADRELEASE

EXEC CICS LINK PROGRAM(PROGRAM-2)END_EXEC.

EXEC CICS XCTL PROGRAM(PROGRAM-3)END_EXEC.

Page 35: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation35

CICS COMMUNICATION AREA (COMMAREA)

This area of a program is used to pass information betweenother programs and transactions.• It is automatically provided to you via the Translator phase• In COBOL it is part of the DATA DIVISION / LINKAGE SECTION• It initially provides you one byte to be used as a programming SW although it can range up to 32K bytes in size

O1 DFHCOMMAREA. 05 PROCESS-SW PIC X. 88 INITIAL-ENTRY VALUE ‘0’. 88 VERIFICATION VALUE ‘1’. 05 ACCOUNT-NUMBER PIC X(10).

EXEC LINK PROGRAM(ACCTPGM) COMMAREA(DFHCOMMAREA) LENGTH(11)END-EXEC.

***

Page 36: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation36

Example of CICS application user screen

ABCD Average salary by department

Type a department number and press enter.

Department number: A02

Average salary($): 58211.58

F3: Exit

You can program PF, PA, CLEAR Keys to perform any transaction functionalityi.e. EXEC CICS HANDLE AID PF3(EXIT-PGM) . . . .END-EXEC.

Page 37: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation37

Example of ABEND Codes

Page 38: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation38

Language Examples

Page 39: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation39

CICS JCL Startup

Page 40: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation40

Example of CICS Startup Messages on MVS Console

RDOGrouplist

being loaded

GoodMorningMsg

StorageSize

acquired

JavaEnabled

*

TempStg.Init

TypeOf

Startup

WebListenerenabled

Page 41: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation41

Example of CICS Shutdown Message from MVS Console

ClosingNetwork

No OutstandingTasks

Logswho is

shuttingdownCICS

Page 42: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation42

Example of CICS Statistics Collected (DFHSTUP)

Page 43: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation43

CICS and Web-enabling

4 major elements of web-enabled applications:

Presentation logic

Integration logic

Business logic

Data logic

Page 44: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation44

CICS Web support

IBM HTTPServer for OS/390

CICSCICSWebServerWebServer

PluginPlugin

CICSCICSTCP/IPTCP/IPlistenerlistener CC

WW

SS

32703270WebWeb

bridgebridge

3270presentation

logic

W eb-awarepresentation

logic

CICSapplication

CICS region

COMMAREA

W ebBrowser

Directconnection

EXCI

Page 45: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation45

CICS Transaction Gateway

Java clientJava clientapplicationapplication

ECI EPI ESI

Clientdaemon

Transportdrivers

Gatewaydaemon CTG.INI ctgcfgctgcfg

Configurationtool

CICSserver

Network

JNI

CICS Transaction

Gateway

Page 46: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation46

CICS Transaction Gateway and WebSphere Application Server

Page 47: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation47

CICS COMMANDS /DEMOS

CEMT – Master Terminal Commands * INQUIRE (set file)

* SET (disable a program) * PERFORM (Statistics)CECS – Command Syntax CheckCECI – Command InitiationCEDF – EXECUTE DIAGNOSTIC FACILITYCEDA/B/C – Resource updating via RDO (See utility DFHCSDUP*)CEBR – Temporary Storage BrowserCETR – TraceCSMG - MessagesCSFE PRINTJCL SDSF

* See next slide

Page 48: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation48

CECI

Page 49: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation49

CEDA

Page 50: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation50

CEDA EXPAND LIST(DFHLIST)

Page 51: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation51

CEDA Functions for Resource Definitions

Page 52: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation52

CEDA/CEDB/CEDC Summary

Page 53: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation53

The DFHCSDUP utility provides:

Page 54: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation54

Example of Terminal Interactions

Page 55: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation55

What is IMS?

Information Management System

3 components:

– The Transaction Manager (TM)

– the Database Manager (DB)

– Set of system services, providing common services to the other 2

Page 56: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation56

IMS overview

IMS System

TransactionManager

DatabaseManager

IMSMessageQueues

IMSDatabases

IMSLogsz/OS

Console

Page 57: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation57

IMS Transaction Manager messages

Four types of messages:

– Transactions

– To go to another logical destination

– Commands for IMS

– For the IMS APPC feature to process

Page 58: Introduction to z/OS Basics © 2006 IBM Corporation Chapter 11: Transaction managers on z/OS

Chapter 11 Transactional Systems

© 2006 IBM Corporation58

Summary

Interaction with the computer happens online through the help of a transaction manager.

The continued growth of the Internet has caused many corporations to consider the best ways to make their legacy systems available to users on the Internet.

CICS is a transactional processing subsystem. CICS applications are traditionally run by submitting a transaction request.

Information Management System (IMS) consists of three components:

– Transaction Manager (TM)

– Database Manager (DB)

– A set of system services common to both TM and DB