Introduction
Welcome
()
What you should know before watching this course
()
Using the exercise files
()
Challenges explained
()
1. Getting Started
Introduction to COBOL
()
Downloading GnuCOBOL
()
Downloading and installing Cygwin
()
Unzipping and installing GnuCOBOL
()
Walking through a sample program
()
COBOL coding rules
()
Designing programs
()
Editing, compiling, linking, and running COBOL programs
()
2. Describing Data
COBOL naming standards
()
Data types and description
()
Literal and figurative constants
()
Challenge: Using the constant PI
()
Solution: Find the area of a circle
()
3. Control Structures
How to use COBOL verbs
()
Computational verbs
()
Decision making in COBOL
()
Branching in COBOL (go to)
()
Perform/Perform...thru
()
Perform n times
()
Perform...until
()
Challenge: Simulate a cash register
()
Solution: Implement a cash register
()
4. Sequential Files
File organization and access methods
()
Reading sequential files in COBOL
()
File error checking in COBOL
()
Processing files in COBOL
()
Writing records to a sequential file
()
Challenge: Calculate employee raises
()
Solution: Update employee salaries
()
5. Advance Sequential Files
Inserting records in a master data file
()
Updating records in a master file
()
Sorting records in COBOL
()
Merging records in COBOL
()
Challenge: Merge two employee files
()
Solution: Create a master employee file
()
6. Direct Access Files
Direct access files in COBOL
()
Relative files in COBOL
()
7. Tables in COBOL
Using tables in COBOL
()
Creating tables in COBOL
()
Searching tables in COBOL
()
Challenge: Create table of weather data
()
Solution: Search table of weather data
()
8. String Handling
Inspecting strings in COBOL
()
Using the string command in COBOL
()
Using the unstring command in COBOL
()
Challenge: Create mailing labels
()
Solution: Parse CSV file for mailing labels
()
Ex_Files_UaR_COBOL.zip
(338 KB)