Choose your language:

France
Germany
Hong Kong
India
Ireland
Japan
Malaysia
Netherlands
New Zealand
Singapore
Sweden
United Kingdom
United States

Cobol Programming

Course Code

MV116

Duration

5 Days

Six months experience with TSO/ISPF is required. No previous COBOL experience is needed.

This course provides an overview of structured programming concepts. The four divisions of a COBOL program and their functions are reviewed in detail. Participants will gain hands on experience through a series of class discussions and workshop exercises that include several modifications to a skeletal COBOL program. File processing, program looping, conditional program statements, and table processing are covered in detail. Development of clear and understandable program designs is stressed along with building maintainable programs. Program debugging techniques are also discussed.

This course is designed for entry level participants who must understand, design, code, test, and debug COBOL programs.

Upon completion of this course, participants will be able to:

  • design and develop structured programs
  • define variables and build program code
  • define / discuss the internal descriptions of data in a COBOL program
  • READ and WRITE files
  • use IF, EVALUATE, PERFORM statements
  • use arithmetic statements
  • use explicit scope (END-) terminators
  • load / process COBOL tables via indexes / subscripts
  • analyze the File-Status field
  • analyze a program abend
  • debug a COBOL program’s logic via displays and walk-thrus
  • code COBOL Intrinsic Functions
  • code COBOL calls to the Language Environment (LE)
  • code COBOL Internal SORT

Day 1
Course Introduction
Introduction to Structured Techniques
COBOL Program Components
Identification Division
Environment Division
Data Division
Procedure Division
Program Examples

Input / Output Operations
Environment Division - SELECT and ASSIGN
Procedure Division - FD and Record definition
Procedure Division - OPEN/CLOSE, READ/WRITE

Program Control Statements
The Family of PERFORMs
End processing statements - GOBACK
Conditional Statements – IF, EVALUATE
Statement Terminators (-END)
Sub Program Access - CALL statement
Hands-on Workshops

Day 2 – Hands-on Workshops
Program Code
Data Storage Types
Character and Numeric Moves
Edit Picture Characters
Special Features - Reference Modification, Figurative Constants,
Special Registers, INITIALIZE, SET, STRING, COPY
Arithmetic statements – Add, Subtract, Multiply, Divide, Compute

Day 3 - Hands-on Workshops
Table Processing
Table definitions
Search modes - SEARCH, SEARCH ALL
Subscripting vs. indexing

Day 4 - Hands-on Workshops
Additional Topics - Internal SORT, Debugging Abends, Intrinsic Functions
File Status, Calls to LE

Day 5 - Hands-on Workshops

Send Us a Message
Choose one