Beginning COBOL for Programmers
Publisher: Apress
Published: Mar 20, 2014
Number of pages: 588
ISBN-13: 9781430262534
Table of contents: title: Contents at a Glance
pagenum: v; title: About the Author
pagenum: xxi; title: About the Technical Reviewer
pagenum: xxiii; title: Acknowledgments
pagenum: xxv; title: Preface
pagenum: xxvii; label: Chapter 1
title: Introduction to COBOL
pagenum: 1; title: What Is COBOL?
pagenum: 1; title: COBOL's Target Application Domain
pagenum: 1; title: COBOL's Fitness for Its Application Domain
pagenum: 2; title: History of COBOL
pagenum: 3; title: Beginnings
pagenum: 3; title: COBOL Standards
pagenum: 4; title: The Argument for COBOL (Why COBOL?)
pagenum: 5; title: Dominance of COBOL in Enterprise Computing
pagenum: 5; title: Danger, Difficulty, and Expense of Replacing Legacy COBOL Applications
pagenum: 5; title: Shortage of COBOL Programmers: Crisis and Opportunity
pagenum: 7; title: COBOL: The Hidden Asset
pagenum: 8; title: Advantages of Bespoke Software
pagenum: 9; title: Characteristics of COBOL Applications
pagenum: 10; title: Characteristics of COBOL
pagenum: 11; title: Summary
pagenum: 14; title: References
pagenum: 14; label: Chapter 2
title: COBOL Foundation
pagenum: 17; title: COBOL Idiosyncrasies
pagenum: 17; title: COBOL Syntax Metalanguage
pagenum: 19; title: Some Notes on Syntax Diagrams
pagenum: 20; title: Example Metalanguage
pagenum: 20; title: Structure of COBOL Programs
pagenum: 21; title: Divisions
pagenum: 21; title: The Four Divisions
pagenum: 23; title: IDENTIFICATION DIVISION
pagenum: 23; title: ENVIRONMENT DIVISION
pagenum: 24; title: DATA DIVISION
pagenum: 25; title: File Section
pagenum: 25; title: Working-Storage Section
pagenum: 25; title: Data Hierarchy
pagenum: 26; title: PROCEDURE DIVISION
pagenum: 27; title: Shortest COBOL Program
pagenum: 27; title: COBOL Coding Rules
pagenum: 28; title: Name Construction
pagenum: 29; title: Example Programs
pagenum: 30; title: The COBOL Greeting Program
pagenum: 31; title: The DoCalc Program
pagenum: 31; title: The Condition Names Program
pagenum: 33; title: Chapter Exercise
pagenum: 34; title: Where to Get a COBOL Compiler
pagenum: 34; title: Micro Focus Visual COBOL
pagenum: 34; title: OpenCOBOL
pagenum: 35; title: Raincode COBOL
pagenum: 35; title: Compileonline COBOL
pagenum: 35; title: Fujitsu NetCOBOL
pagenum: 35; title: Summary
pagenum: 35; title: References
pagenum: 36; label: Chapter 3
title: Data Declaration in COBOL
pagenum: 37; title: Categories of Program Data
pagenum: 37; title: COBOL Literals
pagenum: 37; title: Data Items (Variables)
pagenum: 38; title: Figurative Constants
pagenum: 38; title: Elementary Data Items
pagenum: 40; title: Declaring Elementary Data Items
pagenum: 40; title: PICTURE Clause Symbols
pagenum: 40; title: PICTURE Clause Notes
pagenum: 41; title: Example Declarations
pagenum: 42; title: Assignment in COBOL
pagenum: 42; title: The MOVE Verb
pagenum: 42; title: MOVE Syntax
pagenum: 43; title: MOVE Rules
pagenum: 43; title: MOVE Combinations
pagenum: 43; title: MOVE Examples
pagenum: 44; title: Structured Data
pagenum: 46; title: Group Data Items
pagenum: 47; title: Level Numbers
pagenum: 47; title: Data Hierarchy
pagenum: 48; title: Level-Number Relationships Govern Hierarchy
pagenum: 50; title: Summary
pagenum: 52; label: Chapter 4
title: Procedure Division Basics
pagenum: 55; title: Input and Output with ACCEPT and DISPLAY
pagenum: 55; title: The DISPLAY Verb
pagenum: 55; title: The ACCEPT Verb
pagenum: 57; title: Example Program: ACCEPT and DISPLAY
pagenum: 59; title: Arithmetic in COBOL
pagenum: 60; title: Common Arithmetic Template
pagenum: 60; title: Nonconforming Arithmetic Verbs
pagenum: 63; title: Let's Write a Program
pagenum: 69; title: Summary
pagenum: 70; label: Chapter 5
title: Control Structures: Selection
pagenum: 73; title: Selection
pagenum: 73; title: IF Statement
pagenum: 73; title: Condition Types
pagenum: 74; title: Relation Conditions
pagenum: 74; title: Class Conditions
pagenum: 75; title: Sign Conditions
pagenum: 78; title: Complex Conditions
pagenum: 78; title: Implied Subjects
pagenum: 80; title: Nested IFs
pagenum: 81; title: Delimiting Scope: END-IF vs. Period
pagenum: 82; title: Condition Names
pagenum: 83; title: Defining Condition Names
pagenum: 84; title: Using Condition Names Correctly
pagenum: 88; title: Example Program
pagenum: 89; title: Setting a Condition Name to True
pagenum: 90; title: EVALUATE
pagenum: 94; title: Decision Tables
pagenum: 94; title: EVALUATE Metalanguage
pagenum: 95; title: Notes
pagenum: 97; title: EVALUATE Examples
pagenum: 97; title: Summary
pagenum: 101; title: References
pagenum: 101; label: Chapter 6
title: Control Structures: Iteration
pagenum: 109; title: Paragraphs Revisited
pagenum: 109; title: The PERFORM Verb
pagenum: 110; title: Open Subroutines
pagenum: 110; title: Closed Subroutines
pagenum: 112; title: COBOL Subroutines
pagenum: 112; title: Why Use Open Subroutines?
pagenum: 112; title: PERFORM NamedBlock
pagenum: 113; title: How PERFORM Works
pagenum: 113; title: PERFORM .. THRU Dangers
pagenum: 115; title: Using PERFORM .. THRU Correctly
pagenum: 115; title: PERFORM .. TIMES
pagenum: 116; title: Inline Execution
pagenum: 117; title: Out-of-Line Execution
pagenum: 118; title: PERFORM .. UNTIL
pagenum: 118; title: Notes on PERFORM .. UNTIL
pagenum: 119; title: How PERFORM .. UNTIL Works
pagenum: 119; title: PERFORM .. VARYING
pagenum: 120; title: Notes on PERFORM .. VARYING
pagenum: 121; title: How PERFORM .. VARYING Works
pagenum: 121; title: Summary
pagenum: 124; title: References
pagenum: 129; label: Chapter 7
title: Introduction to Sequential Files
pagenum: 131; title: What Is a File?
pagenum: 131; title: Terminology
pagenum: 132; title: Files, Records, and Fields
pagenum: 132; title: How Files Are Processed
pagenum: 133; title: Implications of Buffers
pagenum: 134; title: File and Record Declarations
pagenum: 134; title: Creating a Record
pagenum: 135; title: Declaring the Record Buffer in Your Program
pagenum: 135; title: The SELECT and ASSIGN Clause
pagenum: 136; title: SELECT and ASSIGN Syntax
pagenum: 137; title: Processing Sequential Files
pagenum: 138; title: The OPEN Statement
pagenum: 139; title: The CLOSE Statement
pagenum: 139; title: The READ Statement
pagenum: 140; title: How READ Works
pagenum: 140; title: The WRITE Statement
pagenum: 143; title: Summary
pagenum: 146; label: Chapter 8
title: Advanced Sequential Files
pagenum: 157; title: Files with Multiple Record Types
pagenum: 157; title: Problem Specification
pagenum: 157; title: Implications of Files with Multiple Record Types
pagenum: 157; title: Multiple Record Descriptions, One Record Buffer
pagenum: 159; title: The Type Code
pagenum: 159; title: Printer Sequential Files
pagenum: 166; title: SELECT and ASSIGN
pagenum: 167; title: What Is in a Report
pagenum: 167; title: Problem of Multiple Print Records
pagenum: 168; title: Solution to the Multiple Print Record Problem
pagenum: 168; title: WRITE Syntax Revisited
pagenum: 169; title: Variable-Length Records
pagenum: 174; title: FD Entries for Variable-Length Records
pagenum: 174; title: Notes on Varying-Length Records
pagenum: 175; title: Example Program
pagenum: 175; title: Summary
pagenum: 176; label: Chapter 9
title: Edited Pictures
pagenum: 181; title: Edited Pictures
pagenum: 181; title: Formatting Output
pagenum: 181; title: Immediate Editing
pagenum: 182; title: Example Program
pagenum: 182; title: Types of Editing
pagenum: 184; title: Editing Symbols
pagenum: 185; title: Insertion Editing
pagenum: 185; title: Simple-Insertion Editing
pagenum: 185; title: Special-Insertion Editing
pagenum: 187; title: Fixed-Insertion Editing
pagenum: 188; title: Floating Insertion
pagenum: 191; title: Suppression-and-Replacement Editing
pagenum: 193; title: Suppression-and-Replacement Examples
pagenum: 193; title: Example Print Lines
pagenum: 194; title: Immediate Editing
pagenum: 195; title: PICTURE String Restrictions
pagenum: 196; title: The PICTURE Clause Scaling Symbol
pagenum: 197; title: Rules
pagenum: 197; title: Summary
pagenum: 199; label: Chapter 10
title: Processing Sequential Files
pagenum: 205; title: File Organization vs. Method of Access
pagenum: 205; title: Sequential Organization
pagenum: 206; title: Ordered and Unordered Files
pagenum: 206; title: Control-Break Processing
pagenum: 206; title: Specifications that Require Control Breaks
pagenum: 207; title: Detecting the Control Break
pagenum: 208; title: Writing a Control-Break Program
pagenum: 208; title: Control-Break Program Template
pagenum: 209; title: Three-Level Control Break
pagenum: 209; title: An Atypical Control Break
pagenum: 214; title: Updating Sequential Files
pagenum: 218; title: Applying Transactions to an Ordered Sequential File
pagenum: 219; title: The File-Update Problem: Simplified
pagenum: 224; title: The Full File Update Problem
pagenum: 232; title: Full File Update Program
pagenum: 232; title: Program Notes
pagenum: 235; title: Test Data and Results
pagenum: 236; title: Summary
pagenum: 237; title: TestData
pagenum: 241; title: Notes
pagenum: 241; label: Chapter 11
title: Creating Tabular Data
pagenum: 247; title: Tables vs. Arrays
pagenum: 247; title: Table/Array Definition
pagenum: 247; title: Table/Array Differences
pagenum: 248; title: Declaring Tables
pagenum: 248; title: OCCURS Clause Rules
pagenum: 248; title: Subscript Rules
pagenum: 249; title: Why Use Tabular Data?
pagenum: 249; title: First Specification
pagenum: 249; title: Second Specification
pagenum: 250; title: Using a Table for the State Sales Totals
pagenum: 251; title: Third Specification: Group Items as Table Elements
pagenum: 253; title: Tabular Data Program
pagenum: 254; title: Multidimensional Tables
pagenum: 256; title: Multidimensional Program
pagenum: 257; title: Correct Depiction of COBOL Tables
pagenum: 260; title: Three-Dimensional Tables
pagenum: 260; title: Prefilled Tables
pagenum: 262; title: REDEFINES Clause
pagenum: 263; title: Creating Prefilled Tables of Values
pagenum: 263; title: Creating a Prefilled Two-dimensional Table
pagenum: 264; title: ANS 85 Table Changes
pagenum: 270; title: Summary
pagenum: 271; title: Specification Extension
pagenum: 272; label: Chapter 12
title: Advanced Data Declaration
pagenum: 273; title: The REDEFINES Clause
pagenum: 273; title: Specification: Aromamora Base Oil Sales Report
pagenum: 273; title: The REDEFINES Clause (continued)
pagenum: 280; title: REDEFINES Syntax
pagenum: 280; title: REDEFINES Notes
pagenum: 280; title: REDEFINES Examples
pagenum: 281; title: The RENAMES Clause
pagenum: 284; title: RENAMES Syntax
pagenum: 284; title: RENAMES Notes
pagenum: 284; title: RENAMES Examples
pagenum: 285; title: Listing Notes
pagenum: 286; title: The USAGE Clause
pagenum: 286; title: Representation of Numeric Data
pagenum: 286; title: Nonstandard USAGE Extensions
pagenum: 292; title: Decimal Arithmetic
pagenum: 292; title: Summary
pagenum: 294; title: The Problems
pagenum: 294; title: Program 1
pagenum: 299; title: Program 2
pagenum: 300; title: Program 3
pagenum: 301; title: Program 4
pagenum: 302; title: References
pagenum: 302; label: Chapter 13
title: Searching Tabular Data
pagenum: 303; title: Searching Using SEARCH and SEARCH ALL
pagenum: 303; title: INDEXED BY Clause
pagenum: 304; title: Using SET to Manipulate the Table Index
pagenum: 304; title: The SEARCH Verb
pagenum: 305; title: SEARCH Examples
pagenum: 306; title: Searching Multidimensional Tables
pagenum: 311; title: Searching the First Dimension of a Two-Dimensional Table
pagenum: 313; title: The SEARCH ALL Verb
pagenum: 314; title: KEY IS Clause
pagenum: 314; title: How a Binary Search Works
pagenum: 315; title: SEARCH ALL
pagenum: 317; title: Variable-Length Tables
pagenum: 319; title: Summary
pagenum: 322; label: Chapter 14
title: Sorting and Merging
pagenum: 327; title: SORTING
pagenum: 327; title: Simple Sorting
pagenum: 327; title: Using Multiple Keys
pagenum: 332; title: SORT with Procedures
pagenum: 333; title: How an INPUT PROCEDURE Works
pagenum: 335; title: OUTPUT PROCEDURE
pagenum: 343; title: How the OUTPUT PROCEDURE Works
pagenum: 343; title: Some Interesting Programs
pagenum: 346; title: Sorting Tables: ISO 2002 Changes
pagenum: 351; title: Merging Files
pagenum: 352; title: MERGE Verb
pagenum: 353; title: MERGE Notes
pagenum: 353; title: Merging Province Sales Files
pagenum: 354; title: Summary
pagenum: 356; label: Chapter 15
title: String Manipulation
pagenum: 361; title: The INSPECT Verb
pagenum: 361; title: INSPECT .. TALLYING: Format 1
pagenum: 363; title: INSPECT .. REPLACING: Format 2
pagenum: 365; title: INSPECT: Format 3
pagenum: 367; title: INSPECT .. CONVERTING: Format 4
pagenum: 368; title: String Concatenation
pagenum: 370; title: The STRING Verb
pagenum: 371; title: String Concatenation Example
pagenum: 372; title: String Splitting
pagenum: 373; title: The UNSTRING Verb
pagenum: 374; title: String-Splitting Program
pagenum: 379; title: Reference Modification
pagenum: 380; title: Intrinsic Functions
pagenum: 383; title: Using Intrinsic Functions
pagenum: 383; title: String Functions
pagenum: 384; title: DATE Functions
pagenum: 389; title: Summary
pagenum: 393; label: Chapter 16
title: Creating Large Systems
pagenum: 399; title: Subprograms and the COPY Verb
pagenum: 399; title: The CALL Verb
pagenum: 400; title: Parameter-Passing Mechanisms
pagenum: 401; title: Subprograms
pagenum: 402; title: State Memory and the IS INITIAL Phrase
pagenum: 404; title: The CANCEL Verb
pagenum: 406; title: The IS GLOBAL Clause
pagenum: 406; title: The IS COMMON PROGRAM Clause
pagenum: 407; title: Example Programs and Their Subprograms
pagenum: 408; title: The IS EXTERNAL Clause
pagenum: 422; title: Using IS EXTERNAL Data Items
pagenum: 423; title: The COPY Verb
pagenum: 424; title: The COPY Metalanguage
pagenum: 425; title: How COPY Works
pagenum: 425; title: How the REPLACING Phrase Works
pagenum: 426; title: COPY Examples
pagenum: 426; title: Summary
pagenum: 428; label: Chapter 17
title: Direct Access Files
pagenum: 435; title: Direct Access vs. Sequential Files
pagenum: 435; title: Organization of Relative Files
pagenum: 436; title: Processing Relative Files
pagenum: 437; title: Reading a Relative File
pagenum: 437; title: Creating a Relative File from a Sequential File
pagenum: 439; title: Applying Transactions to a Relative File
pagenum: 441; title: Relative Files: Syntax and Semantics
pagenum: 444; title: Relative Files: SELECT and ASSIGN Clause
pagenum: 444; title: Relative File Verbs
pagenum: 445; title: Organization of Indexed Files
pagenum: 449; title: Processing Indexed Files
pagenum: 450; title: Reading an Indexed File
pagenum: 451; title: Creating an Indexed File from a Sequential File
pagenum: 455; title: Using Indexed Files in Combination
pagenum: 456; title: Applying Transactions to an Indexed File
pagenum: 459; title: Indexed Files: Syntax and Semantics
pagenum: 463; title: Indexed Files: SELECT and ASSIGN Clause
pagenum: 463; title: The Key of Reference
pagenum: 464; title: Indexed File Verbs
pagenum: 464; title: Comparison of COBOL File Organizations
pagenum: 466; title: Sequential File Organization
pagenum: 466; title: Relative File Organization
pagenum: 467; title: Indexed File Organization
pagenum: 468; title: Summary
pagenum: 469; title: Introduction
pagenum: 469; title: General Description
pagenum: 470; title: Maintenance Procedure
pagenum: 471; title: The Redundant Stock Report
pagenum: 471; label: Chapter 18
title: The COBOL Report Writer
pagenum: 477; title: Report Writer
pagenum: 477; title: Example Report: Solace Solar Solutions
pagenum: 477; title: How the Report Writer Works
pagenum: 481; title: Writing a Report Program
pagenum: 482; title: Adding Features to the Report Program
pagenum: 488; title: Adding More Features to the Report Program
pagenum: 493; title: Report Writer Declaratives
pagenum: 499; title: Report Writer Syntax and Semantics
pagenum: 499; title: Special Report Writer Registers
pagenum: 507; title: PROCEDURE DIVISION Report Writer Verbs
pagenum: 507; title: Declaratives
pagenum: 509; title: Using Declaratives with the Report Writer
pagenum: 509; title: Using Declaratives with Files
pagenum: 511; title: Summary
pagenum: 512; title: Introduction
pagenum: 512; title: File Descriptions
pagenum: 513; title: Print Specification
pagenum: 513; label: Chapter 19
title: OO-COBOL
pagenum: 519; title: Module Strength and Module Coupling
pagenum: 519; title: Informational-Strength Modules in COBOL
pagenum: 521; title: OO-COBOL
pagenum: 523; title: The UseDictionary Program
pagenum: 523; title: The Dictionary Class
pagenum: 525; title: A Formal Introduction to OO-COBOL
pagenum: 528; title: Objects, Classes, and Methods
pagenum: 528; title: Programming with Objects
pagenum: 529; title: Registering a Class
pagenum: 529; title: Declaring Object References
pagenum: 529; title: Sending Messages to Instance Objects
pagenum: 530; title: Creating a New Object Instance
pagenum: 530; title: Destroying Objects
pagenum: 531; title: Predefined Object Identifiers
pagenum: 531; title: Writing Your Own Classes
pagenum: 532; title: The Issue of Scope
pagenum: 534; title: Summary
pagenum: 539; title: Index
pagenum: 547