Malcolm Kayser Computer Training Limited

Courses in Programming (including Cobol), UNIX, Linux, IBM Mainframe,
Design Methods and Web design

Telephone: +44 (0)20 8954 1981

COBOL Programming (5-day) : Detailed Course contents


Introduction to COBOL

Development of COBOL. Program translation: compilation, linkage editor. Common compilation errors, compiler options.
Divisions of COBOL, COBOL syntax and format, COBOL character set, program source structure.

COBOL statement structure

COBOL words, format of statements.

Identification Division


Environment Division


Data Division


File Section

File description (FD), record descriptions, hierarchy and level numbers, description-string entry.

Working-Storage Section

Literals, figurative constants, redefines clause, data representation, the Usage clause, synchronization, sign clause.

The Procedure Division

File status codes; file statements: Open, Read, Write, Close, Stop, Goback; Accept and Display; Move statement, Justified clause, qualification of data names, Reference Modification.

Perform statement

Out-of-line, With test ... Until, ... Times, in-line statement; Go to statement.

Program design

Describes program design techniques, design considerations, procedure names, program structure.


Printed output, Write statement with the advancing option, editing characters; Initialize statement.

Environment Division clauses

Other entries.

Condition testing

Conditional statements: IF statement, class condition, sign condition, relation condition, condition-name conditionals (level 88), Set statement for condition-names, nested If statements, compound conditions, logical operator - OR with AND.
Evaluate statement, Continue statement.


Arithmetic statements: Rounded option, On Size Error option, Add statement, Subtract statement, Multiply statement, Divide statement, Compute statement.

Non-sequential files

File access modes, Select for Indexed files, Select for Relative files.

Accessing Indexed and Relative files

Open statement, Close statement, creating a file - Sequential access, Write statement, Reading a file - Sequential access, Read statement, Invalid key clause, Reading a file - Random and Dynamic access, Writing to a file - Random access, Updating a file - Random access, Rewrite statement, Delete statement, Start statement, Reading a file - Dynamic access.

Declarative routines


Using Subroutines

Call statement, Using clause - calling program, Using clause - called program, Linkage Section, returning control from a called program.

Table handling

Subscripted tables: Single dimensional tables, Perform and single dimensional tables, two-dimensional tables, Perform and two dimensional tables, three dimensional tables, Perform and three dimensional tables, variable length tables.
Indexed tables: Set statement, storing an index, using an index, Perform example using a two dimensional table; Search statement.

Copy code

Copy statement, Suppress, Replacing.

Data Manipulation

Inspect statement, String statement, Unstring statement.


LE/370 and Intrinsic Functions.

page updated: 27/12/09
PDF icon Download detailed course contents as a pdf

© 2010 MKCT Ltd.