Académique Documents
Professionnel Documents
Culture Documents
TERMINAL
VTAM
VSAM
BTAM CICS DASD
TCAM DB2
Application
Programs
Brief History of CICS
• Introduced by IBM in 1968 – ran only on IBM
mainframes
• CICS on many platforms
• Introduction of Transaction Server
Batch On-line
• Jobs are submitted for • Jobs submitted are
execution by the executed immediately
processor at later time • User interaction is an
• Absence of any usual thing
interaction from user • Program starts, process a
• Program starts, processes record and ends
all records and ends • Performance measure is
• Performance measure is response time
throughput • When CICS program
• When program ABENDS ABENDS it may bring
it just ends the program down the entire system
Features of CICS
• A Data Base/Data Communication (DB/DC)
control system
• Is a generalized transaction processing interface
• Provides on-line environment in batch OS
• Is an operating system in itself
• Runs as a batch job within the OS/390 OS
• Many languages can be used for developing
CICS programs – COBOL being the most
common
CICS Service Diagram
CICS OS/390
VSAM File Control
Application
DB2 SQL Application
Programming
Program
IMS DL/I Interface
Terminal
Basic
Control
Mapping Maps
Support
VTAM,SNA,TCP/IP)
(
Terminal User
Sample CICS Scenario
• Transaction ID Entered
• Looked up in PCT - Program loaded
• Program displays initial map and ends
• User enters data and hits ‘Enter’ key
• Program reloaded
– Receives data from screen
– Processes data
– Sends response back to screen
– Returns to CICS
CICS Program Invocation
CICS finds CICS finds
User Enters
TRANS-ID in PCT program name
TRANS-ID
to get program name in PPT
PCT PPT
PB011
CICS Address Library Load Module
• Telecommunication
• Multitasking
• Data access and transaction control
• Inter System communication
Some Basic Terminologies
• Task: Task is a unit of work specific to a user
Physical Map.
• The BMS macros are assembled and link-edited into CICS load library
to create the physical map. The mapset like any other CICS program is
stored in CICS runtime library the PPT(Program Processing Table). At
the program execution time the physical map is being used by CICS to
load the screen image.
• The symbolic map is coded using the BMS macro, assembled separately
and catalogued into a copy library. The symbolic map serves as a DSECT
for referencing the Terminal Input/Output Area (TIOA). The program
issues a COBOL COPY statement to include it in the program.
• The symbolic maps represents the actual data structure of the fields
defined in the physical map, and is used by the application program to
send and receive information from the terminal, in the CICS SEND-MAP
& RECEIVE MAP commands.