Go BackVS COBOL II: Basics

Synopsis
VS COBOL II: Basics introduces general programming concepts and specific coding requirements for VS COBOL II.

Audience
This course is for new COBOL programmers.

Time
3 - 6 hours

Product Code: COB401
After completing this course, the student should be able to:
 
Provide a general description of COBOL
Describe COBOL specifications and instructions
Identify coding rules for COBOL programs
Code a COBOL program stub
Discuss the process of compiling a program

Overview
Provides a general description of COBOL programming and takes a brief look at the structure of a COBOL program.
 
General Description

Characteristics of COBOL programming.  Four major components of COBOL programs.  Subcategories of COBOL divisions.
 
Program Structure

Proper order for the four structural components. Function of each of the four components.

Specifications and Instructions
Introduces the specifications and instructions used when coding COBOL programs.  Covers how to code and use data names, literals and instructions.
 
Data Names

Purpose of specifications and instructions.  Coding rules for and use of data names.  Reserved words for the VS COBOL II compiler.
 
Literals

Comparing and contrasting literals and data names.  Coding rules and use of numeric literals.  Coding rules and use of non-numeric literals.
 
Instructions

Specifications used in COBOL instructions.

Coding Rules
Describes general procedures for coding program statements.  Explains the standard COBOL reference format.  Identifies rules for coding program headers.
 
General Coding Procedures

Comparing and contrasting source programs and object programs.  The standard COBOL reference format.
 
Coding Program Statements

Purpose of Area A (A Margin) and Area B (B Margin).  Coding rules for division headers, section headers, paragraph headers and processing statements.

Practical Example
Explains the preliminary steps performed before coding any program.  Steps through coding a program stub.
 
Program Specifications

Three preliminary steps to perform before coding.  The specifications for the example program.
 
Coding the Example

Coding sections of a program stub based on the program specifications.

Compiling the Program
Discusses general information about the process of compiling a program.  Focuses on the printed outputs created from a compile and the procedures usually available to run compiles.
 
Source Statement Listing

Format and use of the Source Statement Listing.
 
Compiler Error Listing

Format and use of the Compiler Error Listing.
 
Cross-Reference Listing

Format and use of the Cross-Reference Listing.
 
Data Division Map

Format and use of the Data Division Map.
 
Run Procedures

Purpose and content of three JCL procedures to run compiles.

 

Go Back