CICS/TS Command Level Programming (CI1010)

Request a Quote for this class

About this Course

An entry-level CICS training course designed to provide the accomplished COBOL programmer with all the tools necessary to code, test and debug CICS programs. The student will become familiar with the concepts and terminology of on-line, interactive, database / data communications systems. Through the extensive use of case studies and hands-on workshops, the student will build a multi-program system using terminal communications, screen mapping, program communications, as well as file processing, intermediate storage and the concept of multi-tasking. The computer will be used to run class problems programmed by students. This provides a useful workshop orientation to the course.

Audience Profile

Application programmers who will be coding CICS applications.

At Course Completion

The student will learn how to effectively design and code applications in an on-line environment, as well as proper error handling techniques. In addition, upon completion the student will be able to:

  • Describe the major components of CICS
  • Describe the functions of CICS tables
  • Code programs that create efficient data streams which result in better response times

Prerequisites

It is strongly recommended that the student have at least one (1) year of programming experience, understand IBM’s JCL and have experience in TSO/SPF or equivalent.

Course Outline

1. Introduction

  • What is CICS
  • Multi-Programming/Multi-Tasking/Multi-Threading
  • Definitions
  • Batch vs. On-Line
  • CICS Management
  • CICS System Components

2. Overview – Program, Transactions and Tasks

  • Program Control Table (PCT)
  • Processing Program Table (PPT)
  • CICS Command-Level Program Preparation
  • The Command Level Translator
    • Command Level Program Preparation
    • Translator & Complier Options
  • Execute Interface Block
  • Command Syntax

3. Screen Handling – Terminal Control and Basic Mapping Support (BMS)

  • Attribute Byte
    • Standard Attributes
      • Modified Data Tag (MDT)
      • ATTRIBUTE BYTE FORMAT
      • Default Colors
    • Extended Attributes
      • Extended Color
      • Highlighting
      • Field Validation
      • Programmed Symbols
  • DFHBMSCA
  • Maps & Mapsets
    • MAPSET (DFHMSD)
    • Fields – (DFHMDF)
    • Field Suffix
  • SEND MAP Command
  • RECEIVE MAP Command
  • EXCEPTION CONDITIONS FOR BMS
  • Terminal Control SEND
  • Terminal Control RECEIVE
  • EXCEPTION CONDITIONS FOR Terminal Control

4. Program Control

  • Application Program Levels
  • RETURN Command
    • Pseudo-Conversational
  • LINK Command
  • XCTL Command
  • COMMAREA with LINK

5. Debugging and Testing with CICS/EDF

  • EDF Screens
  • Invocation
  • Termination
  • Information available at breakpoints
  • Sample Session

6. File Requesting Processing

  • CICS File Control
  • VSAM Files in CICS
  • Performance
  • Controlling VSAM Files
  • File Integrity
  • READ Command
  • Alternate Index Processing
  • WRITE Command
    • MASSINSERT
  • DELETE Command
  • REWRITE Command
  • UNOCK Command
  • Browsing Files
    • Performance Considerations
    • STARTBR Command
    • READNEXT Command
    • READPREV Command
    • RESETBR Command
    • ENDBR Command
  • Exception Conditions

7. Handling Errors

  • HANDLE CONDITION
  • IGNORE CONDITION
  • NOHANDLE
  • RESP and RESP2 codes
  • HANLDE ABEND
  • Logical Unit of Work Concepts
  • SYNCPOINT Command

8. Temporary Storage Services

  • Definition
  • Types of Temporary Storage
  • Usage of Temporary Storage
  • WRITEIQ TS Command
  • READQ TS Command
  • DELETEQ Command

9. Transient Data Processing

  • Types of Queues
    • Intra-Partition
    • Extra-Partition
  • Defining the Queues
    • Destination Control Table (DCT)
  • WRITEQ TD Command
  • READQ TS Command
  • DELETEQ TD Command

10. Interval Control

  • Starting New Tasks
  • START Command
  • RETRIEVE Command
  • CANCEL Command
  • ASKTIME
  • FORMATTIME
  • Interval Control Except Conditions

11. Other CICS Functions and Features

  • Storage Getmain and Freemain
  • ENQ
  • DEQ
  • SPOOL commands
  • SET and INQUIRE commands
  • CICS startup
  • CICS termination