OVERVIEW
This class provides the skills needed to code COBOL application programs using the CICS/MVS and CICS/ESA Command Level interfaces. CICS concepts and structures as well as programming detail, such as file control, DB2 access, program control and terminal handling, are included. Other areas of CICS are also presented: queue management, program preparation, testing and debugging. The course provides information current through CICS version 3.3.
OBJECTIVES
- Define various CICS/MVS and CICS/ESA terms and concepts.
- Name the CICS tables used in application development.
- Describe how a pseudo-conversational Command Level program executes.
- Describe the parts of a CICS COBOL program that differ from batch coding.
- Code CICS/MVS and/or CICS/ESA COBOL programs that inquire, add, update and delete records.
- Create screens using Basic Mapping Support and access them through programs.
- Transfer control and data between programs.
- Prepare, execute and debug CICS COBOL programs.
- Use new CICS/ESA capabilities, including distributed program link, logical cursor detection and more.
INTENDED AUDIENCE
This course is designed for people who will be coding and/or maintaining application programs using Command Level CICS, primarily application developers.
PREREQUISITES
COBOL programming experience is necessary, and working knowledge of the editor (e.g. ISPF) is required for the computer labs.
FORMAT/MATERIALS
This course includes a combination of lecture, discussion and computer labs to reinforce the CICS concepts presented. Students will receive an extensive manual of lecture notes and examples, and have the option of purchasing a textbook, CICS for the COBOL Programmer by Doug Lowe.
CONTENT
Day 1
I. INTRODUCTION TO CICS
A. CICS Overview
1. Processing Modes
2. CICS History, Advantages
B. Elements of a CICS/MVS or CICS/ESA System
1. CICS Components
2. DB/DC Issues
C. Management Modules/Domains
1. Control Programs/Tables
2. Terminal Control/Message
3. Task Control/Dispatcher
4. Storage Control/Storage Manager
5. Program Control/Application Domain
6. File Control/Database Access
7. Other Control Programs/Domains
D. Transaction Execution Flow
II. COMMAND LEVEL PROGRAMMING
A. Executing a Command Level Program
B. Execute Interface Block
C. Multi-Threading
D. Pseudo-Conversational Programming
E. COBOL Program Structure
F. CICS Command Format
G. Program Preparation
H. Exceptional Conditions
1. HANDLE CONDITION
2. IGNORE CONDITION
3. RESP Option
I. Basic Commands
1. RECEIVE
2. SET vs. INTO
3. SEND
4. RETURN vs. RETURN TRANSID
J. Computer Lab
Day 2
I. CODING SCREENS
A. Online Screen Concepts
B. 3270 Hardware/Layout
C. Unformatted Screen
D. Formatting the Screen
E. Basic Mapping Support
F. Screen Generators
G. Map Components
1. Standard BMS Macro Format
2. BMS Map Assembly vs. Screen Generation
3. BMS Sample Map
4. BMS Symbolic Map
H. Computer Lab
II. PROCESSING OUTPUT SCREENS
A. Screen Processing Concepts
B. SEND MAP Command
C. Date and Time
D. Dynamic Attribute Modification
E. SEND MAP Example
F. Computer Lab
Day 3
I. PROCESSING INPUT SCREENS
A. RECEIVE MAP Command
B. Editing and Validating Data
C. Handling PF Keys
D. Checking cursor position
E. RECEIVE MAP Example
F. Computer Lab
II. DATA ACCESS
A. File Control
B. VSAM Review
C. Random Processing
1. Retrieving Records
D. Computer Lab
Day 4
I. DATA ACCESS (Continued)
A. Random Processing
1. Updating Records
- Update design
- Editing data
- REWRITE
- SQL UPDATE
2. Releasing Records
3. Adding Records
4. Deleting Records
B. Computer Lab
Day 5
I. DATA ACCESS (Continued)
A. Sequential Access
1. STARTBR
2. READNEXT
3. ENDBR
4. RESETBR
5. SQL CURSORs
6. Concurrent Browsing
7. Updating During Browse
B. Computer Lab
II. PROGRAM CONTROL
A. CICS Data
B. Passing Data
C. Program Control
D. Logical Levels
E. LINK Command
F. Distributed Program Link
G. XCTL Command
H. Computer Lab
I. Temporary Storage Queues
-
- Uses for Temporary Storage
- WRITEQ TS Command
- READQ TS Command
- DELETEQ TS Command
J. Transient Data Queues
-
- Types of Transient Data
- WRITEQ TD Command
- READQ TD Command
- DELETEQ TD Command
K. Computer Lab
I. CICS DEBUGGING
A. CEDF
B. Formatted Dumps
C. Trace Table
D. Machine Lab
II. APPENDICES
III. GLOSSARY
IV. INDEX