Duration
6 hours
Overview
The CICS TS – Program Control and Communication course describes the methods used to transfer data from one CICS program to another, and the commands used to achieve this. It also explains the various CICS communication facilities and features that can be used for interaction between CICS programs and other programs: both within and external to CICS. This course also introduces the CICS programmer to more basic CICS issues including serialization, threadsafe, containers, and CICS data areas.
Audience
Applications and Systems Programmers who need a deeper understanding of CICS and the features it provides for application programmers.
Prerequisites
Completion of the CICS TS – Programming Basics course, or equivalent knowledge.
Objectives
After completing this course, the student will be able to:
- Identify and describe the main methods used for passing data between CICS programs
- Describe how CICS uses system and data areas
- Describe how a program can use CICS time, to delay or schedule processing
- Identify the methods used by a CICS region to connect to other transaction systems
- Explain the advantages of a threadsafe program in CICS on z/OS, and describe how one is created
Course Content
Program Control Commands
Loading a CICS Program
Resident Programs
LINK Command
INVOKE, RETURN, and XCTL Commands
Passing Data using COMMAREAs
CICS Channels and Containers
Using Messages to Pass Data
Accessing CICS Areas and Information
CICS System Areas
CSA and CWA Region System Data Areas
Task/Program System Data Areas
Accessing Information in Data Areas
CICS ADDRESS Command
CICS ASSIGN Command
Systems Programmer Interface
CICS INQUIRE Command
Accessing CICS Data Areas using Java and C++
Interval Control Program and Commands
Retrieving the Date/Time using the CICS ASKTIME Command
Formatting the Current Date and Time
CICS DELAY Command
CICS POST and WAIT EVENT Commands
Starting a Transaction
CICS RETRIEVE Command
Cancelling Requests
Intercommunication and Transactions
MultiRegion Operation (MRO) Connection
InterSystem Communication (ISC) Link
IP Interconnectivity (IPIC) Link
CICSplex
Function Shipping
Distributed Program Link (DPL)
Transaction Routing
Distributed Transaction Processing (DTP)
Using the External CICS Interface (EXCI)
Threadsafe and Serialization
Resource Serialization
Automatic Serialization
Enqueues
CICS ENQ and DEQ Commands
Quasi-Reentrant Task Control Block (QR TCB)
QR TCB Limitations
Reentrant Programs
Threadsafe and Subprograms