Table of Contents
Sams Teach Yourself COBOL in 24 Hours Table of Contents
Return to Teach Yourself COBOL in 24 Hours, COBOL bibliography, COBOL, COBOL DevOps, Awesome COBOL, Awesome IBM Mainframe, IBM Mainframe development, IBM Mainframe bibliography, Fortran
Contents at a Glance
Introduction
Part I COBOL Program Basics
Part II File Handling
Part III Business Processing
Part IV Miscellaneous Functions
Part V Advanced Topics
Complete Table of Contents
Introduction
Who Should Read This Book
Special Elements of This Book
Q&A and Workshop
Conventions Used in This Book
Part 1 COBOL Program Basics
HOUR 1 Getting Started
COBOL Purpose and History
Business Data Processing
COBOL: The Language of Business
The Origin of COBOL
Grace Hopper
The COBOL Standard
Installing the Compiler
Required Hardware and Software
Using the Examples in This Book
How to Install the Fujitsu Compiler
Validating the Install
Summary
Q&A
Workshop
Hour 2 Writing Your First Program in COBOL
COBOL Program Layout
Identification Division
Environment Division
Data Division
Procedure Division
Creating a Simple COBOL Program
Compiling and Linking
When It Won't Compile
Debugging Your Program
Summary
Q&A
Workshop
HOUR 3 Different Data Types
The Picture Clause
The Meaning of the Different Level Numbers
Numeric Fields
Decimal Values
Handling the Sign
The Usage Clause
Alphanumeric Fields
Literals
Numeric Edited Fields
Alphanumeric Edited Fields
Group and Elementary Level Items
Using Data Types in a Program
Summary
Q&A
Workshop
HOUR 4 Basic User Interface
Interfacing with the User
Batch Versus Interactive Processing
The Screen Section
Elements of the Screen Section
Special-Names Paragraph
Using the Screen Section in a Program
Summary
Q&A
Workshop
HOUR 5 Procedure Division
Procedure Division Organization
Paragraphs
Sections
Arithmetic Statements
The Add Statement
The Subtract Statement
The Multiply Statement
The Divide Statement
The Compute Statement
Simple Data Manipulation
The Move Statement
Summary
Q&A
Workshop
HOUR 6 Manipulating Data
The Accept Statement
Accepting from the User
Accepting Data from the System
The Initialize Statement
The Inspect Statement
Reference Modification
Using What You Have Learned in a Program
Summary
Q&A
Workshop
HOUR 7 Manipulating String Data
The String Statement
String Delimiters
The Unstring Statement
Unstring Delimiters
Summary
Q&A
Workshop
HOUR 8 Conditional Statements
Conditional Statements in COBOL
The If Statement
The Else Clause
Using Complex Conditions
Nesting If Statements
88 Levels and the Set Statement
Using 88 Levels in an If Statement
Summary
Q&A
Workshop
HOUR 9 The Evaluate Statement
When to Use Evaluate
Simple Evaluate Statements
More Complex Evaluate Usage
Summary
Q&A
Workshop
HOUR 10 Processing Loops
The Basic Perform Statement
Sections and Paragraphs
Creating Processing Loops Using Perform
Use of Go To
Summary
Q&A
Workshop
HOUR 11 Advanced Perform Statements
Perform with Varying
Testing Before or After
The Use of the Inline Perform
Nesting Perform Statements
The Inline If Statement and Perform
Using the Debugger
Summary
Q&A
Workshop
HOUR 12 Tables
Defining a Table
Basic Table Handling
Populating a Table in Working-Storage
The Redefines Clause
The Search Statement
Multidimensional Tables
Variable-Length Tables
Summary
Q&A
Workshop
Part II File Handling
HOUR 13 Sequential Files
Connecting Your Program to a File
The Select Statement
The File Description
Opening the File
Closing the File
Writing to the File
Reading from the File
Updating the File
Variable-Length Records
Summary
Q&A
Workshop
HOUR 14 Indexed Files
Defining the Indexed File
The Select Statement for Indexed Files
Creating an Indexed File from a Sequential File
Creating Indexed File Records from User Input
Other Methods of Handling File Errors
Summary
Q&A
Workshop
HOUR 15 Reading Indexed File Records
Various Access Methods
Sequential Access
Random Access
Dynamic Access
Summary
Q&A
Workshop
HOUR 16 Updating Indexed File Records
Opening for I-0
Writing Records
Rewriting Records
Deleting Records
Relative Files
Summary
Q&A
Workshop
HOUR 17 Sorting
Sorting a File
The Using and Giving Clauses
Manipulating Data During the Sort
The Input Procedure
The Output Procedure
Summary
Q&A
Workshop
Part III Business Processing
HOUR 18 Master File Updating
Programming for Transaction Entry
Data Validation
Updating a Master File
Updating a Sequential Master File
Updating an Indexed Master File
Summary
Q&A
Workshop
HOUR 19 Reporting
Creating Reports
Designing Your Report Layout
The Write Statement and Reports
Programming for Page Breaks
Summary
Q&A
Workshop
HOUR 20 Advanced Reporting
Reporting with Control Breaks
Determining the Number and Hierarchy of Control Breaks
Subtotaling
Walking Through a Program with Control Breaks
Summary
Q&A
Workshop
Part IV Miscellaneous Functions
HOUR 21 Date Manipulation
Determining the Current System Date
The Current-Date Intrinsic Function
Days Between Dates
Determining the Day of the Week for a Particular Date
Validating Dates
Other Kinds of Dates
Fun with Dates
Summary
Q&A
Workshop
HOUR 22 Other Intrinsic Functions
Mathematical Functions
Statistical Functions
Financial Functions
String Functions
Miscellaneous Functions
Summary
Q&A
Workshop
Part V Advanced Topics
HOUR 23 The Call Interface
Calling Other Programs
Simple Program Calling
Passing Data Between Programs
The Linkage Section
The Procedure Division of the Called Program
Call By Reference and By Content
Dynamic Versus Static Calls
Using Copybooks
Summary
Q&A
Workshop
HOUR 24 The Graphical User Interface
Different Methods of Achieving the Graphical User Interface
Using sp2 to Create a Graphical User Interface
Designing Your Panel
Modifying the Generated Program
The Future of COBOL
Summary
Appendix A Quiz Exercise Questions and Answers
Index
Fair Use Sources
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)
© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.