Zoom Outline PDF View  or  Email  


COBOL Programming Part 1




SUMMARY:   Suitable for the BCS Mainframe Technology Professional Exam for Level 1 Applications Developer.

AUDIENCE:   Application Programmers with minimal experience in COBOL who require formal training in the basic language features and programming techniques.

PREREQUISITES:   An understanding of computer concepts is assumed.

DURATION:   5 days. Hands on.

APPROACH:   COBOL Part 2

OBJECTIVES:   Each delegate will acquire a working knowledge of COBOL and will gain a solid foundation in the fundamentals of COBOL coding including program structure, design, execution and debugging. The concepts of structured programming are introduced with examples and explanation. Good programming practice is encouraged throughout. The course starts with the basics and builds with hands-on assignments until the delegates are capable of complex programming logic and design.

COURSE CONTENT:  

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

IDENTIFICATION DIVISION

ENVIRONMENT DIVISION

  CONFIGURATION SECTION
  INPUT-OUTPUT SECTION

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

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

Program Control
  GO TO statement
PERFORM statement
  PERFORM with TIMES
  PERFORM with UNTIL
  EXIT statement
  STOP statement

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

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

DATA DIVISION
  88 levels

PROCEDURE DIVISION
  EVALUATE statement
  SET statement
  DISPLAY statement
  ACCEPT statement
 
Arithmetic statements
  ADD statement
  SUBTRACT statement
  MULTIPLY statement
  DIVIDE statement
  COMPUTE statement

PROCEDURE DIVISION
  WRITE statement (printing)

DATA DIVISION
  Edited Data
    Alphanumeric Edited
    Numeric Edited
      Simple Insertion
      Special Insertion
      Fixed Insertion
      Floating Insertion
      Suppression and Replacement

WORKSHOPS: Workshops in this class are conducted in a hands-on environment. Delegates will code execute and debug a series of programs serving as an excellent example for future programming in COBOL.


AS03/10

© 2007 Verhoef Training

Schedule Dates

Course offered as
Inhouse or Public

Date Location Country

Copyright © 2007 - Verhoef Group of Companies - All Rights Reserved