Open menu

COBOL Programming Part 2

Audience

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.

Prerequisites

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

Duration

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

Module 1: Working with Dates
Day, Date and Time functions in COBOL

Module 2: Character manipulation
COBOL character functions
Lower-case
Upper-case
Length
Reverse
Ord
Char
String
Unstring
Inspect

Module 3: Arrays and Tables
Defining Arrays
2D arrays
Multi-dimensional arrays
Subscripting vs Indexing of arrays
Sequential search
Binary search

Module 4: Sub-programs
Call instruction
Static vs Dynamic calls
GOBACK vs EXIT Program
Handling parameters
Return codes

Module 5: Indexed File Processing
VSAM KSDS
Sequential vs by Key
Open
Close
Read
Write
Rewrite
Close
Select
FD
VSAM File status

Module 6: Relative Record File Processing
VSAM RRDS
Select
FD
Open
Close
Read
Write
Rewrite
Start
Delete

Verhoef Training Ltd.

11 Kingsmead Square
Bath, BA1 2AB
United Kingdom

Tel: +44(0)1225 339705

Email: info@verhoef-training.co.uk

Become a Trainer

Ever thought about using your skills to help others?

Call us to find out about how you can teach for Verhoef.

Tel: +44(0)1225 339705