BMC - Interskill Learning Mainframe Training

[email protected]

The World’s Most Delivered Mainframe Training
Search   Course Catalog  
Return to Curriculum Listing

Labs - COBOL (z/OS) - COBOL and Sequential Data Set File Processing

Duration

8 hours

Overview

The Labs - COBOL (z/OS) - COBOL and Sequential 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 accessing records from a sequential data set and performing various actions with that data.

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
  • IBM COBOL for z/OS
  • Labs COBOL (z/OS) COBOL Basics

Objectives

    After completing this course, the student will be able to:
  • Read records from a sequential data set
  • Select specific records from a sequential data set to be copied
  • Copy XML Data from a sequential data set
  • Move records to a table

Course Content

Accessing Sequential Data Set Records

Defining a FILE-CONTROL Paragraph
SELECT, ASSIGN, ORGANIZATION, and ACCESS MODE Clauses
FILE SECTION Definition
OPEN Statement
Reading Records Until the End of File is Reached
Using the COMPUTE Statement to Count Records
Displaying Record Statistics
Questions

Copying Specific Sequential Data Set Records

Defining Input and Output File Requirements
Error Handling Routines
Identifying Records Meeting Criteria
NATIONAL-OF and DISPLAY-OF Intrinsic Functions
Writing Data to the Output Data Set
Questions

Copying XML Data from a Sequential Data Set

Defining a Variable Blocked Output Data Set
Identifying Null Characters in the Input Data Set
Determining XML Record Length Using the INSPECT Statement
Writing Only Record Information to the Output Data Set
Questions

Creating a Table

Creating a Table Definition
Specifying the Maximum Number of Table Entries
Copying Records to the Table
PERFORM Statement and UNTIL Phrase
Identifying Table Field Values
Questions


Search our catalog