Table of Contents
Beginning COBOL for Programmers Table of Contents
COBOL: COBOL Fundamentals, COBOL Inventor - COBOL Language Designer: 1959 by Howard Bromberg, Norman Discount, Vernon Reeves, Jean E. Sammet, William Selden, Gertrude Tierney, with indirect influence from Grace Hopper, CODASYL, ANSI COBOL, ISO/IEC COBOL; Modern COBOL - Legacy COBOL, IBM COBOL, COBOL keywords, COBOL data structures - COBOL algorithms, COBOL syntax, Visual COBOL, COBOL on Windows, COBOL on Linux, COBOL on UNIX, COBOL on macOS, Mainframe COBOL, IBM i COBOL, IBM Mainframe DevOps, COBOL Standards, COBOL Paradigms (Imperative COBOL, Procedural COBOL, Object-Oriented COBOL - COBOL OOP, Functional COBOL), COBOL syntax, COBOL installation, COBOL containerization, COBOL configuration, COBOL compilers, COBOL IDEs, COBOL development tools, COBOL DevOps - COBOL SRE, COBOL data science - COBOL DataOps, COBOL machine learning, COBOL deep learning, COBOL concurrency, COBOL history, COBOL bibliography, COBOL glossary, COBOL topics, COBOL courses, COBOL Standard Library, COBOL libraries, COBOL frameworks, COBOL research, Grace Hopper, COBOL GitHub, Written in COBOL, COBOL popularity, COBOL Awesome list, COBOL Versions. (navbar_cobol)
Contents at a Glance
Contents at a Glance
- 2: COBOL Foundation
- 5: Control Structures: Selection
- 6: Control Structures: Iteration
- 15: String Manipulation
- 17: Direct Access Files
- 18: The COBOL Report Writer
- 19: OO-COBOL
Full Table of Contents
TOC Beginning COBOL for Programmers
Chapter 1: Introduction to COBOL
COBOL’s Target Application Domain
COBOL’s Fitness for Its Application Domain
The Argument for COBOL (Why COBOL?)
Dominance of COBOL in Enterprise Computing
Danger, Difficulty, and Expense of Replacing Legacy COBOL Applications
Shortage of COBOL Programmers: Crisis and Opportunity
COBOL: The Hidden Asset
Advantages of Bespoke Software
Characteristics of COBOL Applications
Some Notes on Syntax Diagrams
The Four Divisions
The DoCalc Program
Where to Get a COBOL Compiler
Chapter 3: Data Declaration in COBOL
Declaring Elementary Data Items
The MOVE Verb
Level-Number Relationships Govern Hierarchy
Chapter 4: Procedure Division Basics
Input and Output with ACCEPT and DISPLAY
The DISPLAY Verb
The ACCEPT Verb
Example Program: ACCEPT and DISPLAY
Nonconforming Arithmetic Verbs
Chapter 5: Control Structures: Selection
Nested IFs
Delimiting Scope: END-IF vs. Period
Using Condition Names Correctly
Setting a Condition Name to True
Notes
Chapter 6: Control Structures: Iteration
Using PERFORM..THRU Correctly
Chapter 7: Introduction to Sequential Files
Terminology
Implications of Buffers
File and Record Declarations
Declaring the Record Buffer in Your Program
The READ Statement
Chapter 8: Advanced Sequential Files
Files with Multiple Record Types
Implications of Files with Multiple Record Types
Multiple Record Descriptions, One Record Buffer
Problem of Multiple Print Records
Solution to the Multiple Print Record Problem
FD Entries for Variable-Length Records
Notes on Varying-Length Records
Suppression-and-Replacement Editing
Suppression-and-Replacement Examples
The PICTURE Clause Scaling Symbol
Rules
Chapter 10: Processing Sequential Files
File Organization vs. Method of Access
Specifications that Require Control Breaks
Writing a Control-Break Program
Control-Break Program Template
Applying Transactions to an Ordered Sequential File
The File-Update Problem: Simplified
Notes
Chapter 11: Creating Tabular Data
Why Use Tabular Data?
Using a Table for the State Sales Totals
Third Specification: Group Items as Table Elements
Multidimensional Tables
Multidimensional Program
Correct Depiction of COBOL Tables
Prefilled Tables
Creating Prefilled Tables of Values
Creating a Prefilled Two-dimensional Table
Chapter 12: Advanced Data Declaration
Specification: Aromamora Base Oil Sales Report
The USAGE Clause
Representation of Numeric Data
The Problems
Program 1
Program 2
Program 3
Program 4
Chapter 13: Searching Tabular Data
Searching Using SEARCH and SEARCH ALL
Using SET to Manipulate the Table Index
Searching Multidimensional Tables
Searching the First Dimension of a Two-Dimensional Table
SEARCH ALL
Chapter 14: Sorting and Merging
How the OUTPUT PROCEDURE Works
Sorting Tables: ISO 2002 Changes
Chapter 15: String Manipulation
INSPECT...TALLYING: Format 1
INSPECT...REPLACING: Format 2
INSPECT...CONVERTING: Format 4
Intrinsic Functions
Chapter 16: Creating Large Systems
Subprograms and the COPY Verb
The CALL Verb
State Memory and the IS INITIAL Phrase
Example Programs and Their Subprograms
The COPY Metalanguage
How the REPLACING Phrase Works
Chapter 17: Direct Access Files
Direct Access vs.Sequential Files
Organization of Relative Files
Creating a Relative File from a Sequential File
Applying Transactions to a Relative File
Relative Files: Syntax and Semantics
Relative Files: SELECT and ASSIGN Clause
Organization of Indexed Files
Creating an Indexed File from a Sequential File
Using Indexed Files in Combination
Applying Transactions to an Indexed File
Indexed Files: Syntax and Semantics
Indexed Files: SELECT and ASSIGN Clause
Comparison of COBOL File Organizations
Chapter 18: The COBOL Report Writer
Example Report: Solace Solar Solutions
How the Report Writer Works
Adding Features to the Report Program
Adding More Features to the Report Program
Report Writer Syntax and Semantics
Special Report Writer Registers
PROCEDURE DIVISION Report Writer Verbs
Using Declaratives with the Report Writer
Using Declaratives with Files
Module Strength and Module Coupling
Informational-Strength Modules in COBOL
The UseDictionary Program
The Dictionary Class
A Formal Introduction to OO-COBOL
Programming with Objects
Sending Messages to Instance Objects
Creating a New Object Instance
Predefined Object Identifiers