![]() |
VSAM COBOL Programming
| Duration: 2 days |
| Participants: Application programmers. |
|
Objectives:
Upon successful completion of this course you will be able to:
- Write COBOL programs that access VSAM datasets dynamically and randomly. - Describe CICS considerations when accessing VSAM datasets. (Optional) - Write CICS COBOL programs that access VSAM datasets. (Optional) |
| Overview: This course is designed to teach application developers to write COBOL programs to access VSAM files in Key Sequence via primary key and via alternate keys, to access ESDS and (optionally) RRDS VSAM files, and to write and update each type of VSAM file. The course presents the necessary logic for dynamic access and updating of data and contrasts that with sequential file access and update. |
| Prerequisites: Working knowledge of COBOL programming and using the IDCAMS utility. If the CICS portion is presented, then a working knowing of CICS programming is also required. |
| Format: Lecture and discussion with hands-on exercises. Recommended course length is 2 days to include sufficient workshop time and 4 days if CICS programming is also included. An additional day for more advanced topics and associated workshop is recommended if students will be using RRDS and some of the less common features of KSDS and ESDS. |
|
Topic Outline:
- COBOL View of VSAM SELECT clauses FD and Ø1 code JCL File status fields Procedure Division verbs Open, Write, Start, Read, Read Next, Rewrite, Delete, Close Flow of logic Programming differences between KSDS, ESDS, and RRDS - CICS Considerations |
|
|