COBOL training course description
A hands on training course providing an introduction to COBOL.
What will you learn
Write COBOL programs
Debug COBOL programs
Examine existing code and determine its function.
COBOL training course details
Who will benefit:
Programmers working with COBOL.
Prerequisites:
None although experience in another high level language would be useful. A 10 day version of this course would be more applicable for those new to programming.
Duration
5 days
COBOL training course contents
Introduction to COBOL
Compilation, linkage editor. Compile errors, compiler options. Divisions, syntax and format, COBOL character set, program structure.
COBOL statement structure
COBOL words, format of statements.
Divisions
Identification entries, Environment entries, Data division: FD, record descriptions, hierarchy and level numbers, description-string entry.
File and Working-Storage Sections
Literals, figurative constants, redefines clause, data representation, Usage clause, synchronization, sign clause.
Procedure Division
File status codes; Open, Read, Write, Close, Stop, Goback; Accept, display; Move, Justified, data name qualification, reference modification.
Perform statement
Out-of-line, With test ... Until, ... Times, in-line statement; Go to statement.
Program design
Design techniques, design considerations, procedure names, program structure.
Printing
Printed output, Write, advancing option, editing characters; Initialize.
Condition testing
Conditional statements: IF, class, sign and relation conditions, condition-name conditionals, Set, compound conditions, logical operators. Evaluate, Continue.
Arithmetic
Rounded option, On Size Error option, Add, Subtract, Multiply, Divide, Compute.
Non-sequential files
File access modes, Select. Indexed and relative files. Open, Close, creating / reading sequential access files, Write, Read, Invalid key clause, reading, writing / updating Random access files, Rewrite, Delete, Start.
Declarative routines
Clauses.
Subroutines
Call, Using clause - calling program/called program, Linkage Section, returning control.
Table handling
Subscripted tables: One/two/three dimensional tables, Perform, variable length tables. Indexed tables: Set, using an index; Search. Copy code: Copy, Suppress, Replacing.
Data Manipulation
Inspect, String, Unstring. COBOL/370 LE/370 and Intrinsic Functions.