Language Reference
Table of Contents
Index
Chapter 3: Concepts of a Compilation Group
3.1 Optional Division, Section and Paragraph Headings
3.2 Reserved Words
3.3 External Repository
3.4 CALL Prototypes
3.5 Files
3.5.1 File Connector
3.5.2 Sequential Input/Output
3.5.2.1 Record Sequential Input/Output
3.5.2.2 Line Sequential Input/Output
3.5.2.3 Organization of Line and Record Sequential Files
3.5.2.4 Access Mode
3.5.3 Relative Input-Output
3.5.3.1 Organization of Relative Files
3.5.3.2 Access Mode
3.5.4 Indexed Input-Output
3.5.4.1 Organization of Indexed Files
3.5.4.2 Access Mode
3.5.5 Sharing Mode
3.6 Objects
3.6.1 Objects and Classes
3.6.2 Object References
3.6.3 Predefined Object References
3.6.4 Methods
3.6.5 Method Invocation
3.6.6 Conformance and interfaces
3.6.6.1 Conformance for Object Orientation
3.6.6.1.1 Interfaces
3.6.6.1.2 Conformance between Interfaces
3.6.6.1.3 Conformance for Parameterized Classes and Parameterized Interfaces
3.6.7 Polymorphism
3.6.8 Class Inheritance
3.6.9 Interface Inheritance
3.6.10 Parameterized Classes
3.6.11 Parameterized Interfaces
3.6.12 Object Life Cycle
3.6.12.1 Life Cycle for Factory Objects
3.6.12.2 Life Cycle for Objects
3.6.12.3 Life Cycle for Parameterized Classes
3.6.12.4 Life Cycle of Parameterized Interfaces
3.7 Run unit communication
3.7.1 Common Programs and Initial Programs
3.7.2 Sharing Data
3.7.3 Sharing File Connectors
3.8 Data Division
3.8.1 Overview
3.8.2 Automatic, Initial and Static
3.8.3 State of a Method, Object or Program
3.8.3.1 State of a Method or Program
3.8.3.1.1 Active State
3.8.3.1.2 Initial and Last-used States of Data
3.8.3.1.2.1 Initial State
3.8.3.1.2.2 Last-used State
3.8.3.2 Initial State of Data Associated Only with an Object
3.8.4 Global Names and Local Names
3.8.5 External and Internal Items
3.9 Procedure Division
3.9.1 Execution
3.9.2 Statements and Sentences
3.9.2.1 Conditional Statement
3.9.2.2 Conditional Sentence
3.9.2.3 COBOL System-Directing Statement
3.9.2.4 COBOL System-Directing Sentence
3.9.2.5 Compiler Directives
3.9.2.6 Imperative Statement
3.9.2.7 Imperative Sentence
3.9.2.8 Delimited Scope Statements
3.9.2.9 Categories of Statements
3.10 Reference Format
3.10.1 Reference Format Representation
3.10.1.1 Sequence Numbers
3.10.1.2 Continuation of Lines
3.10.1.3 Blank Lines
3.10.1.4 Pseudo-text
3.10.2 Division, Section and Paragraph Formats
3.10.2.1 Division Header
3.10.2.2 Section Header
3.10.2.3 Paragraph Header, Paragraph-name and Paragraph
3.10.3 Data Division Entries
3.10.4 Declaratives
3.10.5 Comment Lines
3.10.5.1 In-line Comment