-
1: Introduction to COBOL Programming
-
Objectives
-
What is COBOL?
-
3: Writing COBOL Programs
-
4: The Structure of a COBOL Program
-
Summary
-
-
2: COBOL Programming Structure
-
Objectives
-
Divisions, Sections, and Statements
-
Program Column Layout Rules
-
The IDENTIFICATION DIVISION
-
The ENVIRONMENT DIVISION
-
The DATA DIVISION
-
The PROCEDURE DIVISION
-
Using Periods
-
Summary
-
Exercise 2.1
-
-
3: Data Representation
-
Objectives
-
Defining Data
-
Data Hierarchy
-
The PICTURE Clause
-
Data Types
-
Applying Data Principles
-
Record Definition Review
-
FILLER, USAGE, VALUE Clause
-
Manipulating Data
-
The COPY Statement
-
The REDEFINES Clause
-
Identical Data Names
-
Summary
-
Exercise 3.1 - Defining an Employee Record
-
-
4: Basic Verbs
-
Objectives
-
Introduction
-
Terminating Statements
-
PROCEDURE DIVISION Verbs
-
DISPLAY Verb
-
ACCEPT Verb
-
GOBACK Verb
-
MOVE Verb
-
PERFORM Verb
-
The GO TO Verb
-
Mixing PERFORMs and GO TOs
-
Summary
-
Excercise 4.1 - Using Verbs
-
-
5: Best Practices
-
Objectives
-
Designing a COBOL Program
-
Design Analysis
-
Summary
-
Exercise 5.1 - Creating Structure Diagrams
-
Exercise 5.2 - Accessing Data
-
-
6. Handling Sequential Files
-
Objectives
-
File Handling
-
Files and Records
-
Connecting Files
-
Indentifying Files
-
Specifying File Layout
-
Accessing Sequential Files
-
Putting It All Together
-
The Full READ Statement
-
READ INTO and WRITE FROM
-
More Examples
-
Multiple Record Types
-
Summary
-
Exercise 6.1 - Reforming Data
-
-
7: Decision Logic
-
Objectives
-
Decisions in Programs
-
The IF Statement
-
Condition Statements
-
The EVALUATE Statement
-
Using Different Conditions
-
Summary
-
Exercise 7.1 - Using the EVALUATE statement
-
Exercise 7.2 - Evaluating Salaries
-
-
8: Data Manipulation
-
Objectives
-
Manipulating Data
-
The INITIALIZE Verb
-
Arithmetic Statements
-
Verbs for String Handling
-
Using Data Manipulation Verbs
-
Summary
-
Exercise 8-1 - Using Calculations and Accumulati...
-
-
9: Handling Repeating Data
-
Objectives
-
What is Repeating Data?
-
What is a Table?
-
Using REDEFINES Clauses in Tables
-
Indexed Tables
-
Multi-dimensional Tables
-
Variable Length Tables or Fields
-
Using Repeated Data
-
Summary
-
Exercise 9.1 - Using Tables
-
-
10: Printing and Report Programs
-
Objectives
-
Special Requirements
-
Edited Fields
-
Coding the Program
-
Design Considerations
-
Summary
-
Exercise 10.1 - Reporting
-
-
11: Using Indexed Files
-
Objectives
-
What is an Indexed File?
-
Indexed file Keys and Structure
-
Random File Access
-
Sequential Processing
-
Dynamic Access Processing
-
Alternate Record Keys
-
Error Handling
-
Summary
-
Exercise 11.1 - Using Indexed files
-
-
12: Modular Programming
-
Objectives
-
What is Modular Programming?
-
The CALL Verb
-
The CANCEL Verb
-
Summary
-
6: Exercises
-
-
13: Appendix A
-
Overview
-
Visual COBOL
-
Enterprise Developer
-
-
Quiz
Objectives
At the end of this module you will be able to:
- Describe the history and purpose of COBOL as a programming language.
- Explain why COBOL skills and applications will be in demand for many years to come.
- Describe the basic structure of a COBOL program.