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
Completion of the Labs – COBOL (z/OS) – COBOL Basics course. Each Lab module below also contains its own list of prerequisites or equivalent knowledge, which is displayed when accessing the module.
- 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
Help Center
Instant Web Chat:
- Chat with tech support or
- have a product question?
Call Us:
770-872-4278
Contact our Learning Consultants or call us at 770-872-4278