Datatrain Computer Based Training / Online e-Learning

COBOL File Handling

Duration

4 - 5 hours

Overview

Audience

Personnel wishing for a good understanding of how to program using COBOL

Prerequisites

Basic knowledge of Computing Concepts and successful completion of Datatrain's COBOL Basics and COBOL Arithmetic & Procedures courses or similar

Objectives

After completing this course, the student will be able to -
  • Use COBOL's file handling methods

Course Content

Module 1 FILE PROCESSING
  • File Processing Overview
  • Common File Considerations
  • The functions of Files
  • Types of Files

Module 2 SEQUENTIAL FILE PROCESSING
  • COBOL File processing
  • The Environment Division
  • The Data Division
  • Operations on Files
  • The Write Verb
  • Multiple Record Types

Module 3 DIRECT FILE PROCESSING - INDEXED FILES (Part 1)
  • Direct Access Files
  • Primary & Secondary Keys
  • File Processing
  • The Access Mode Clause
  • Duplicate Keys

Module 4 DIRECT FILE PROCESSING - INDEXED FILES (Part 2)
  • Working with Indexed Files
  • A Sequential Read
  • A Direct Read
  • The Start Verb
  • The Delete Verb
  • Writing New Records

Module 5 DIRECT FILE PROCESSING - RELATIVE FILES (Part 1)
  • Direct Access Files
  • Processing Relative Files
  • The Record Definition
  • Calculating the Relative Key

Module 6 DIRECT FILE PROCESSING - RELATIVE FILES (Part 2)
  • Opening Relative Files
  • A Sequential Read
  • A Direct Read
  • The Start Verb
  • The Delete Verb
  • Writing New Records

Library

This course is part of the Cobol library and the Programming Languages library.


  |