LEARN.COBOLSTACK.COM
//CS150  EXEC PGM=COURSE,PARM='CS150'

Developer track · Core · 4 days · prerequisite: CS105 or CS110

CICS Online Programming

From the 3270 datastream to a working pseudo-conversational application: BMS maps, COMMAREA design, file access, paging — the way online systems are actually written.

Cohort / corporate first

//SYLLABUS DD DISP=SHR

Syllabus

Every session ends in a lab on your own environment. Labs are machine-checked against expected outputs — you and your L&D team always know exactly where you stand.

CICS concepts

Transactions, tasks and programs; regions; resource definition; how a transaction actually starts. The supplied transactions you will live in: CEMT, CECI, CEDF.

LAB Drive an existing transaction and watch it under CEDF.

8 videos · ~62 min
  1. 1.1 Welcome: What "Online" Means 7 min
  2. 1.2 Transactions, Tasks, and Programs 7 min
  3. 1.3 The Region and Its Resources: CSD, CEDA, Groups 8 min
  4. 1.4 CEMT: The Operator's Console 8 min
  5. 1.5 CECI and CECS: Commands Without a Program 8 min
  6. 1.6 CEDF: Watching a Task Execute 9 min
  7. 1.7 The 3270 Terminal Model 7 min
  8. 1.8 Lab: Map the Sign-On Flow Under CEDF 8 min

The command-level API

EXEC CICS, translation and program preparation, the EIB, and RESP handling discipline instead of HANDLE spaghetti.

LAB First command-level program.

8 videos · ~62 min
  1. 2.1 EXEC CICS … END-EXEC and the Translator 8 min
  2. 2.2 Your First Command-Level Program: SEND TEXT 8 min
  3. 2.3 Program Preparation, LOADLIB, and NEWCOPY 7 min
  4. 2.4 The EIB: Your Task's Dashboard 8 min
  5. 2.5 RESP and RESP2: The Production Discipline 9 min
  6. 2.6 HANDLE CONDITION, IGNORE CONDITION, NOHANDLE: Reading Legacy 7 min
  7. 2.7 ASSIGN, ASKTIME/FORMATTIME, and the Header Pattern 7 min
  8. 2.8 Lab: The Command-Level Skeleton 8 min

BMS

The 3270 datastream and attribute bytes; DFHMSD/DFHMDI/DFHMDF; physical versus symbolic maps; SEND MAP and RECEIVE MAP; MDTs.

LAB Build the account-inquiry screen.

9 videos · ~76 min
  1. 3.1 The 3270 Datastream and Attribute Bytes 8 min
  2. 3.2 DFHMSD / DFHMDI / DFHMDF: Map Anatomy 9 min
  3. 3.3 Assembling the Map: DFHBMSCP, Physical vs Symbolic 8 min
  4. 3.4 The Symbolic Map in Your Program 8 min
  5. 3.5 SEND MAP: MAPONLY, DATAONLY, ERASE, CURSOR 9 min
  6. 3.6 RECEIVE MAP and the Modified Data Tag 9 min
  7. 3.7 Attributes at Run Time: the A Field, Colour and Highlight 8 min
  8. 3.8 Cursor Positioning: IC, CURSOR(n), Symbolic Cursor 7 min
  9. 3.9 Lab: The Account Inquiry Screen 10 min

Pseudo-conversational design

Why conversational dies at scale; COMMAREA, RETURN TRANSID, and the standard skeleton every shop recognizes.

LAB Convert the inquiry to pseudo-conversational.

7 videos · ~58 min
  1. 4.1 Why Conversational Dies at Scale 8 min
  2. 4.2 RETURN TRANSID and the Life of a Task 8 min
  3. 4.3 COMMAREA: Carrying State Across Tasks 9 min
  4. 4.4 The Standard Skeleton Every Shop Recognises 9 min
  5. 4.5 Multi-Screen Navigation: XCTL vs RETURN TRANSID 8 min
  6. 4.6 Converting the Inquiry to Pseudo-Conversational 8 min
  7. 4.7 Lab: ACQ1 — The Pseudo-Conversational Inquiry 8 min

Validation and errors

Input editing patterns, cursor positioning, error lines; debugging with CEDF for real.

LAB Bulletproof the screen against hostile input.

7 videos · ~54 min
  1. 5.1 Input Editing Patterns 8 min
  2. 5.2 Error Messages, Highlighting, and Cursor to the Bad Field 8 min
  3. 5.3 AID Key Discipline: ENTER, PF, PA, CLEAR 7 min
  4. 5.4 The Conditions of the Screen: MAPFAIL, LENGERR, INVMPSZ 7 min
  5. 5.5 Abends: ASRA, AEIx, and Reading the Message 8 min
  6. 5.6 HANDLE ABEND and EXEC CICS ABEND 8 min
  7. 5.7 Lab: Bulletproof the Inquiry 8 min

File access

READ, WRITE, REWRITE, DELETE; browsing with STARTBR/READNEXT/READPREV/ENDBR; the paging patterns for list screens.

LAB A scrolling account list over VSAM.

9 videos · ~74 min
  1. 6.1 VSAM Under CICS: FILE Definitions, Open/Close, Contention 8 min
  2. 6.2 READ in Full: INTO, RIDFLD, KEYLENGTH, GTEQ, GENERIC 8 min
  3. 6.3 WRITE and DUPREC 7 min
  4. 6.4 READ UPDATE, REWRITE, UNLOCK, and the Record Lock 9 min
  5. 6.5 DELETE 6 min
  6. 6.6 Browsing: STARTBR, READNEXT, READPREV, RESETBR, ENDBR 9 min
  7. 6.7 Paging Pattern 1: Key Anchors in the COMMAREA 9 min
  8. 6.8 Paging Pattern 2: A Temporary-Storage Snapshot 8 min
  9. 6.9 Lab: The Scrolling Account List 10 min

Program control and shared data

LINK, XCTL and COBOL CALL; channels and containers past the 32K COMMAREA; TS queues for paging state; TD queues and ATI in brief.

LAB Split presentation from business logic across programs.

7 videos · ~56 min
  1. 7.1 LINK, XCTL, and COBOL CALL Under CICS 8 min
  2. 7.2 Splitting Presentation from Business Logic 8 min
  3. 7.3 Channels and Containers 8 min
  4. 7.4 Temporary Storage in Depth 8 min
  5. 7.5 Transient Data, ATI, and Submitting Batch From Online 8 min
  6. 7.6 START, DELAY, CANCEL, RETRIEVE 7 min
  7. 7.7 Lab: Split the Inquiry 9 min

Finishing school

ASKTIME/FORMATTIME/START, SYNCPOINT, abend handling, storage commands — and a look at exposing a transaction as a JSON service.

LAB Capstone: the maintenance transaction, maker-checker pattern included.

8 videos · ~63 min
  1. 8.1 Logical Units of Work and SYNCPOINT 8 min
  2. 8.2 ENQ/DEQ, GETMAIN/FREEMAIN, LOAD/RELEASE 7 min
  3. 8.3 INQUIRE and SET From a Program 7 min
  4. 8.4 Designing the Maintenance Transaction 8 min
  5. 8.5 Building the Maker Path 9 min
  6. 8.6 The Checker: ACM2 and the Approval Unit of Work 8 min
  7. 8.7 Exposing the Inquiry as a JSON Service 7 min
  8. 8.8 Trace, Test, Review, and Course Wrap 9 min
//SKILLS  DD DSN=AFTER.THIS.COURSE

After this course, you can

The environment

Your seat is a private, full z/OS-compatible environment with a CICS-class transaction monitor and BMS in the browser — nothing to install, snapshot and reset per exercise. By the end of the course the lab harness will have verified: a working inquiry + maintenance transaction pair per student.