Professional Documents
Culture Documents
Preface
Trademarks - All brand names and product names used in this course
are trademarks, registered trademarks or trade names of their
respective holders. Course Technology is not associated with any
product or vendor mentioned in this course.
Course overview
You will learn about the internal structure of CICS, its various
applications, and some of the utilities and products that enhance its use
in an OS/390 environment.
This course also introduces the basic architecture of the most commonly
used OS/390 CICS setups, such as the CICSPlex structure, and
facilities for managing and maintaining these systems.
Course overview
Course overview
The third unit, CICS and Databases, describes how CICS Transaction
Server (TS) for OS/390 interacts with databases. In particular, it
discusses the attachment facility that makes DB2 databases accessible
from the CICS environment. An example of a CICS transaction involving
interaction with an IBM Information Management System (IMS) database
is also described.
Course objectives
Upon completing this course, this is what you should be able to do:
State the general purpose, structure, and potential uses of the CICS
application for OS/390
Identify the primary functions of the CICS application and describe the role
these functions play in mainframe system management
(continued)
Course objectives
Topics:
I1 IBM_User; 7.10.2004
IBM ^
Unit 1 overview
In this unit you will learn how the Customer Information Control System
(CICS) functions as an online transaction processing (OLTP) program
for the OS/390 system.
Unit 1 objectives
Upon completing this unit, this is what you should be able to do:
All CICS programs run in the CICS region of storage, under CICS
control. CICS programs use CICS for all interfaces. CICS, in turn,
interfaces with the OS/390 operating system.
Unlike batch input, online input comes from multiple sources, and there
is no way to sequence, predict or control the order and type of input. In
the warehouse example, online processing is like the warehouse
manager taking each order as it comes in and filling it immediately.
Under CICS, all users share application programs and data files.
This means that if one transaction is being processed and another user
make a similar request, CICS does not reload the application
program. Instead, CICS starts a new task for the second request,
using the same program or data file. CICS runs each task
individually, briefly giving each task control of the CPU.
Because concurrent users all share the same data files, if one
user updates a database, the changes are available to all users
immediately.
(continued)
The CICS region is the area of storage that CICS manages. User programs
share the CICS region with other CICS components. These are other types of
objects in CICS:
Tables – The management modules use the CICS system tables to obtain
information about the terminals, files and application programs that are part of
the CICS system. The tables are loaded into storage when the CICS system is
started, and remain active until the system is shut down.
(continued)
The CICS region is divided into a set of domains, each containing a set
of objects grouped together to perform a common set of functions.
Ready to run
Running
Waiting
After a TCA has been created for the task, it is ready to run.
Several tasks might be ready to run at one time – the XM orders
them according to their CICS-assigned priority status. The priority of a
task can change at various stages of processing, because the XM
assesses and assigns priority status based on the function and relative
importance of the pending tasks.
When the XM selects a task that is ready to run, it sends the task to
another CICS component called the dispatcher. CICS stores a pointer
to the TCA of the currently dispatched task in the common system area
(CSA).
The CSA is a control block that exists for as long as the CICS system is
active.
While a task is executing, it has control over the CPU. When the task
requires CICS to perform a service on its behalf (for example, to read in
some data), the task gives up control of the CPU and waits for the
requested service to complete. At that stage the task is waiting.
While the first task is waiting, the next task that is ready to run can
be started. This is how CICS performs multitasking.
The calling program does not regain control when the linked-to
programs terminates. Instead, control goes to the program at the next
higher level in the calling hierarchy, if the programs are multiply
embedded.
CICS is a powerful tool. However, when there are several CICS systems
operating together and interacting with other applications, it becomes
necessary to add managing tools for the CICSPlex systems.
Other useful managing tools are from the NetView family of products.
Unit 1 summary
Unit 1 summary
(continued)
Unit 1 summary
CICS includes three management modules (SM, XM, PG), two control
blocks (TCA and CSA) and one table (PCT).