Professional Documents
Culture Documents
Topics:
Unit 3 overview
(continued)
Unit 3 overview
Unit 3 objectives
Upon completing this unit, this is what you should be able to do:
Explain how CICS supports and interacts with the two largest
database products used: DB2 and IMS
Describe the functions and advantages of the CICS attachment facility
for DB2
Describe the typical CICSPlex setup, and how the various products
interact to provide customer services in a modern banking model
Describe the path of a transaction from a remote terminal to a CICS-
connected database
Describe the role that CICS plays in a typical bank transaction based
on an IMS model
© 2004 IBM Corporation
IBM ^
DB2 accesses data by referring to its content rather than its location
or organization in storage. In this type of system, data can be accessed
or viewed in many different ways without having to reorganize the
database.
The DB2 family (DB2 for ESA, DB2 for VSE, DB2 for VM, DB2 for
OS/390) includes the most common relational database products found
in mainframe environments with CICS TS. CICS provides both
attachment interfaces for DB2 and monitoring and control services.
(continued)
The attachment commands that come with the CICS DB2 attachment
facility are issued using the CICS-supplied DSNC transaction ID.
In our example, 1st Bank is a midsize financial institution that has two
clusters of OS/390 systems, each with two MVS system images. Within
the MVS images there are multiple CICS and IMS regions. The OS/390
clusters are located in different cites that are miles apart.
The system NCP interfaces with VTAM, which is tied to all applications
on the mainframe. VTAM recognizes the transaction header and routes
it through the security translator application. Every remote terminal,
such as an ATM, is defined as a resource in a CICS TOR. VTAM
establishes a session with the TOR where the initiating remote terminal
is defined. CICS then takes over the transaction routing.
Each CICS system has a TOR with a CSD file where all resources are
defined, including remote terminals such as ATMs.
DL/I region, which actually carries out the update. It contains the DL/I
code, control blocks and buffers for IMS databases, and performs the
accessing and updating of data through DL/I calls.
If there are any problems at the database level, they will be logged by
the DBCTL region containing DBRC, which can then be accessed by
CICS in problem determination.
The receiving AOR records the transaction name, logs its completion
level and sends the information on to CICS TOR.
A VTAM session is once again initiated, this time from the CICS side.
The transaction is then sent out over the network to the remote NCP
and from there to the ATM, where the customer is waiting.
The ATM then issues the requested service, such as a cash withdrawal
or bank balance, to the waiting customer.
Unit 3 summary