COBOL Programming Part 2

COBOL Programming Part 2


Application programmers with some experience in COBOL who require formal training in the advanced language features and programming techniques in the IBM z/OS COBOL environment.


Attending our COBOL Programming Part 1 course, or an equivalent level of knowledge, is assumed.


5 days. Hands on.

Course Objectives

This course is designed to improve students' knowledge of COBOL. Each delegate will write, execute and debug COBOL programs which stress the advanced features of the language. This will include multi-dimensional and variable length tables, sub-program calls and VSAM file manipulation. Programming standards and style will be addressed throughout.

Course Content

Procedure Division
WRITE statement (printing).

Data Division
Edited Data.
Alphanumeric Edited.
Numeric Edited.
Simple Insertion.
Special Insertion.
Fixed Insertion.
Floating Insertion.
Suppression and Replacement.

Program Control

Table Handling
Table Access (Subscripting and Indexing).
Lookup Tables.
OCCURS clause.
Variable Length Tables.
Multi-Dimensional Tables.
SET statement.
SEARCH statement.

PARM in JCL and its effect upon COBOL

Subprogram Linkage
Use of static and dynamic calls.
CALL statement.
CANCEL statement.
Coding a subprogram.
ENTRY statement.
GOBACK statement.
EXIT PROGRAM statement.

Data Manipulation
INITIALIZE statement.
INSPECT statement.
STRING statement.
UNSTRING statement.
Reference Modification.

VSAM File Processing
OPEN statement.
START statement.
READ statement.
WRITE statement.
REWRITE statement.
DELETE statement.
CLOSE statement.
COPY statement.

RETURN-CODE and System Codes

Intrinsic Functions
Character-based intrinsic functions.
Arithmetic intrinsic functions.
Date/Time related intrinsic functions.

Virtual Courses

ALL of our courses can be delivered virtually. And our Bath public schedule of courses are now available as live virtual sessions, using the popular Zoom Virtual Classroom and remote labs. Delegates can test their access at:

Public Courses

There are no upcoming events

On-Site Courses

Can't attend one of our public classes? Booking for multiple people?

All our courses are available on your site! Delivered for your staff, at your premises.

Contact us to find out more...