COBOL Programming Training

Course #:WA1743

COBOL Programming Training

The course starts with an overview of structured programming concepts. The four divisions of a COBOL program and their functions are reviewed in detail.  Students 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.

What you will learn

  • 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

After completing this course, the student should be able to:

 

Audience

The course is for entry level students who must understand, design, code, test, and debug COBOL programs.

Prerequisites

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

Duration

5 days

Outline of COBOL Programming Training

1. Course Introduction

  • Introduction to Structured Techniques
  • COBOL Program Components
    • Identification Division
    • Environment Division
    • Data Division
    • Procedure Division
    • Program Example
  • 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

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

3. Hands-on Workshops

  • Table Processing
    • Table definitions
    • Search modes - SEARCH, SEARCH ALL
    • Subscripting vs. indexing

4. Hands-on Workshops

  • Additional Topics
    • Internal SORT
    • Debugging Abends
    • Intrinsic Functions
    • File Status
    • Calls to LE

5. Hands-on Workshops

We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.