Open menu

CCLP: CICS Command Level Programming

Audience

This course is intended for:

  • CICS COBOL Programmers.
  • Batch COBOL Programmers moving into an CICS environment.

Prerequisites

Attendees should have 2 years experience of COBOL programming in a Batch environment.

Duration

5 days. Hands on.

Course Objectives

Upon completion, attendees will be able to confidently code Command Level CICS Programs. They will understand how to use File Control, Temporary Storage and Transient Data. Basic Mapping Support is included for 3270 screen design. The attendee will be able to describe how to use time dependent commands, and how to link between programs. The attendee will be able to understand how to deal with error conditions. The attendee will also be able to use CEDA to define their program to CICS and to use CEDF to test and debug their programs. The CICS/DB2 and CICS/MQ communication interfaces are covered. As well an Introduction to CICS Web Services. The attendee will have access to the latest CICS/TS System of 6.1 and written a Command Level program, updated it to handle recovery and coded a BMS map.

Course Content

DAY 1

Introduction to CICS Programming

  • Basic CICS Terminology and Functionality
  • Command level Syntax
  • CICS and COBOL considerations
  • CICS Translator and Co-Processing

Exception Conditions and access to System Information

  • How to deal with Exceptional Conditions
  • The Handle Condition Command
  • The Ignore Condition Command
  • RESP/RESP2
  • The Exec Interface Block
  • The Address Command
  • The Assign Command

Terminal Control Commands

  • The Receive Command
  • The Send Command
  • The Issue Print Command
  • The Issue Disconnect Command
  • Dealing with Function keys
  • DFHAID
  • EIBAID
  • The Handle Aid Command
  • Screen Attributes
  • DFHBMSCA

Basic Mapping Support

  • How to code a map
  • DFHMSD
  • DFHMDI
  • DFHMDF
  • Symbolic Map
  • Screen Handling
  • The Receive Map Command
  • The Send Map Command
  • The Send Text Command
  • The Send Control Command
  • Printing

DAY 2

File Control Commands

  • The Read Command
  • The Write Command
  • The Rewrite Command
  • The Delete Command
  • The Unlock Command
  • The Startbr Command
  • The Readnext Command
  • The Readprev Command
  • The Resetbr Command
  • The Endbr Command
  • CICS and VSAM and RLS
  • Recoverable Resources
  • Record Locking

Control Operations

Interval Control

  • Time Dependant Operations
  • The Start Command
  • The Retrieve Command
  • The Delay Command
  • The Cancel Command
  • The Asktime Command
  • The Formattime Command

Task Control

  • The Suspend Command
  • The Enq Command
  • The Deq Command

Program Control

  • Conversational vs Pseudo Conversation
  • Passing Data – Commarea, Channels/Containers
  • Hierarchical Processing
  • The Link Co• Conversational vs Pseudo Conversation
  •  Passing Data – Commarea, Channels/Containers
  •  Hierarchical Processing
  •  The Link Command
  •  The XCTL Command
  •  The Return Control
  •  The Load Command
  •  The Release Command
  • What are Channels and Containers
  • How to request a Channel
  •  How to Get and Put data to a Containermmand
  • The XCTL Command
  • The Return Control
  • The Load Command
  • The Release Command

Temporary Storage Control

  • What is Temporary Storage?
  • The Writeq TS Command
  • The Readq TS Command
  • The Deleteq TS Command

Transient Data Control

  • What is Transient Data?
  • Remote Printing
  • Automatic Transaction Initiation
  • External Logging/CICSlog
  • The Writeq TD Command
  • The Readq TD Command
  • The Deleteq TD Command

Journal Control

  • What is Journalling?
  • The Write Journalnum Command
  • The Wait Journalnum Command

Storage Control

  • Dynamic Storage
  • The Getmain Command
  • The Freemain Command

Defining Applications to CICS

  • What are CICS Resources
  • Resource Definition Online
  • DFHCSD
  • CEDA
  • CEDB
  • CEDC
  • Defining Transaction/Programs/Mapsets/Files
  • Batch utility DFHCSDUP

DAY 3

Workshop: Building a Map and a Command Level Application

CICS Application Transactions

  • CICS Execution Diagnostic Facility – CEDF
  • How to test and debug using CEDF
  • View Working Storage
  • Change Commands and set Breakpoints
  • CICS Enhanced Command Interpreter – CECI
  • Syntax check any Command level Command
  • Execute any Command level Command online

DAY 4

Abnormal Termination and Recovery

  • Why Transactions Abend
  • Dynamic Transaction Backout
  • Emergency Restart
  • What is available for recovery
  • The Handle Abend Command
  • The Abend Command
  • The Enter Tracenum Command
  • The Dump Transaction Command
  • What is a Logical Unit of Work
  • The Syncpoint command
  • The Syncpoint Rollback Command

Workshop: Testing the Application and Using Recovery

DAY 5

CICS/DB2 Interface

  • The Attachment Facility
  • The DSNC Transaction
  • Connection threads
  • How DB2 is defined to CICS
  • Entry Threads
  • Program and Package preparation
  • Bind

Introduction to CICS Intersystem Communication

  • Understanding a CICSPlex
  • Why have it – Service Level Agreements
  • Terminal Owning Region – TOR
  • Application Owning Region – AOR
  • File Owning Region – FOR
  •  MultiRegion Option – MRO
  • Intersystem Communication
  • IPIC using TCP/IP
  • Transaction Routing
  • Function Shipping
  • Asynchronous Processing
  • Distributed Program Link
  • CICSPLEX System manager
  • CMAS
  • Distributing Transactions across the CICSPlex

Verhoef Training Ltd.

11 Kingsmead Square
Bath, BA1 2AB
United Kingdom

Tel: +44(0)1225 339705

Email: info@verhoef-training.co.uk

Become a Trainer

Ever thought about using your skills to help others?

Call us to find out about how you can teach for Verhoef.

Tel: +44(0)1225 339705