- 6 hours
The COBOL File Handling course describes how COBOL can be used to define and process several of the common file types used in system processing. It details how sequential and direct files can be defined in the environmental division of the program, and the instructions and processes used to access data sequentially and directly through an index.
COBOL Programmers needing to access data in order to build and maintain applications programs.
Basic COBOL programming concepts and completion of the Data and Datafile Definitions in COBOL course, or equivalent.
After completing this course, the student will be able to identify how to write the following programs using COBOL:
- Report programs
- Data enquiry programs
- Data editing programs
- Data update programs
Data Hierarchy in COBOL
File Processing Concepts
Environment Division File Information
Data Division File Information
File Processing Modes
Multiple Record Types
Using an Index to Access Files
Index Options in COBOL
Input and Output Instructions
Direct and Sequential Input and Output
Using Relative Files
The RELATIVE KEY Clause
Access and Opening Modes for Relative Files
Writing and Closing Relative Files