COBOL Programming Part 1 - Foundation Level

5 Day Course
Hands On
Code TPCBF

Book Now - 1 Delivery Method Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online

Overview

This course (and its associated Part 2) have become the de facto standard introduction to the COBOL programming language for all those working in z Systems environments. This first course teaches how to write and maintain simple COBOL programs. It is taught using a combination of classroom tuition and hands-on practical exercises, and includes realistic case studies. As well as public presentations, this course is available for one-company, on-site presentations. When run exclusively for one organisation, the case studies can be customised to reflect the client's particular environment and work-load.

Objectives

  • describe the structure and purpose of COBOL programs
  • write, compile and test structured COBOL batch programs
  • code both IDENTIFICATION and ENVIRONMENT DIVISIONS
  • code data descriptions within the DATA DIVISIONS
  • access sequential files from COBOL programs
  • perform arithmetic operations in COBOL programs.

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.

Modules

Collapse all

Introduction (8 topics)

  • Divisions of a COBOL program
  • COBOL character set
  • Words
  • Constants
  • Rules for continuation
  • Punctuation rules
  • COBOL coding format
  • Format notation

Identification Division (3 topics)

  • ENVIRONMENT DIVISION
  • CONFIGURATION SECTION
  • INPUT-OUTPUT SECTION

Data Division (8 topics)

  • File Description
  • Data Description
  • Level Number
  • Data-name / FILLER clause
  • REDFINES clause
  • BLANK WHEN ZERO clause
  • PICTURE clause
  • Data Types (Alphabetic, Alphanumeric and Numeric)

Procedure Division (5 topics)

  • OPEN statement
  • CLOSE statement
  • READ statement
  • WRITE statement (disks, cartridges and tapes)
  • MOVE statement

Program Control (5 topics)

  • GO TO statement PERFORM statement
  • PERFORM with TIMES
  • PERFORM with UNTIL
  • EXIT statement
  • STOP statement

Data Division (4 topics)

  • VALUE clause
  • SIGN IS clause
  • USAGE clause (DISPLAY, COMP, COMP-3)
  • Data Types - Numeric

Procedure Division (8 topics)

  • Conditional Expressions
  • Relation condition
  • Class Condition
  • Sign Condition
  • Condition - Name Condition
  • Complex condition
  • Order of evaluation of conditional statements
  • IF statement

Data Division (1 topic)

  • 88 levels

Procedure Division (10 topics)

  • EVALUATE statement
  • SET statement
  • DISPLAY statement
  • ACCEPT statement
  • Arithmetic statements
  • ADD statement
  • SUBTRACT statement
  • MULTIPLY statement
  • DIVIDE statement
  • COMPUTE Statement

Procedure Division (1 topic)

  • WRITE statement (printing)

Data Division (8 topics)

  • Edited Data
  • Alphanumeric Edited
  • Numeric Edited
  • Simple Insertion
  • Special Insertion
  • Fixed Insertion
  • Floating Insertion
  • Supression and Replacement

Prerequisites

An understanding of basic computing terms and techniques. For those who will be working in an IBM mainframe environment, a conceptual-level understanding of that environment and the ability to use TSO/ISPF is also expected.

Course PDF

Print

Share this Course

Share

Recommend this Course

Sections