Duration
4 hours
Overview
The Labs – COBOL (z/OS) – COBOL and VSAM Data Set File Processing course provides a range of exercises that can be run in your organization’s mainframe training sandbox. Exercises in this course focus on copying data into a VSAM data set, and then for part of that data to be updated.
Audience
Programmers who need to use COBOL in a z/OS environment.
Prerequisites
A solid understanding of COBOL or the successful completion of the following Interskill courses:
- COBOL Programming – Basics
- COBOL Data and Datafile Definitions
- COBOL Programming Manipulating Data
- COBOL Programming Advanced
- COBOL – IBM Enterprise COBOL 6.3 for z/OS
- Labs COBOL (z/OS) COBOL Basics
- Labs COBOL (z/OS) COBOL and Sequential Data Set File Processing
Objectives
After completing this course, the student will be able to:
- Read records from a sequential data set into a VSAM KSDS
- Modify VSAM KSDS Records
Course Content
Moving Records to a VSAM KSDS
Creating a VSAM KSDS
Defining a VSAM Output File Definition
Reading Records from a Sequential Data Set
Writing Records to a VSAM File
Questions
Updating VSAM Records
Opening a VSAM KSDS for Input and Output Processing
Reading VSAM Records
Modify the Value of a Record Field
Re-write the Record to the VSAM Data Set
Questions