CCICS Command Level Programming
Audience
This course is designed for application level programmers who are required to code and maintain programs which utilize the CICS/TS Command Level Interface.
Pre-requisites
The student should have knowledge of COBOL, PL/I, or Assembler Language coding techniques and a conceptual understanding of DASD file organizations.
Description
Class participants learn how to write on-line applications using the CICS/TS command level interface. The fundamentals of terminal I/O, program control, file processing and program testing/debugging are presented. Programming techniques that maximize CICS/TS performance and efficiency are discussed in detail throughout the class. This course can be taught at the current release of CICS/TS or any previous release based on the client's needs.
Objectives
Upon completion of this course the student should be able to:
- Understand the major CICS/TS management functions and their corresponding tables (PPT, PCT, TCT, FCT, DCT).
- Design and code application programs for the CICS/TS environment using the following CICS/TS functions:
- Exception conditions (HANDLE CONDITION, IGNORE CONDITION)
- Program control (LINK, XCTL, LOAD, RELEASE, RETURN)
- Terminal control (SEND, RECEIVE, HANDLE AID)
- File control (READ, REWRITE, WRITE, DELETE, STARTBR, EADNEXT,ENDBR, RESETBR)
- Basic mapping support (MAPSETS, MAPS, SEND, RECEIVE, ATTRIBUTES, CURSOR POSITIONING)
- Transient data control (READQ TD, WRITEQ TD, DELETEQ TD)
- Temporary storage control (READQ TS, WRITEQ TS, DELETEQ TS)
- Storage control (GETMAIN, FREEMAIN)
- Access to other system information (ADDRESS, ASSIGN)
- Abnormal termination and recovery (HANDLE ABEND, ABEND, DUMP)
- Use the CICS/TS diagnostic facility (CEDF) for testing and debugging application programs.
Course Outline
CICS/TS Overview
- Batch vs. on-line
- Real-time
- Think-time
- Transactions
- Pseudo-conversational
- Components, functions and features
- Definitions
- Tables.
Command Language Interface
- Program characteristics
- Interface with CICS/TS
- EXEC CICS/TS command format and argument conventions translator
- Execute interface block
Program Structure
- Language considerations and restrictions
- Linkage section usage
Exception Processing
- Handle condition and Ignore condition
- Resp and Nohandle
- EIBRESP
Program Control
- Modular structure using XCTL, LINK, CALL and RETURN
- Pseudo-conversational tasks using transid and commarea
Terminal Control
- SEND and RECEIVE
- Attention identifiers
- DFILAID
- HANDLEAID
File Control
- Random processing commands (read, update, delete, add)
- Browsing commands (start browse, read next, read previous, end or reset browse)
- Move mode (INTO) versus locate mode (SET)
- Exclusive control
- Syncpoint
Basic Mapping
- Overview of BMS facilities
- Map creation (mapset definition macro, map definition macro, field definition macro)
- Attribute modification
- Cursor positioning
- mapping commands (SEND, RECEIVE)
Transient Data and Temporary Storage
- Reading writing and deleting queues
Programing Considerations
- Access to system information (ADDRESS, ASSIGN)
- Abnormal termination and recovery (HANDLEABEND, ABEND, DUMP)
- Debugging facilities (CEDF)