Notes for CIS12 - Introduction to COBOL
COBOL Notes
Click on links to retrieve
Notes and handouts
Link to retrieve
New Introduction
Notes on Hello World program - HELLO.CBL
Notes on ADDDA.CBL
Notes on mathematical calculations
Notes on numeric data
Notes on the COMPUTE statement
Notes on looping
examples: ADDDALP.CBL, CREATE1.CBL, READ1.CBL
Notes on IF statements
Full screen processing
Notes on screen processing
Screen output from first screen programs
Introduction
Introductory concepts of programming
Introductory notes on programming in COBOL
Sample program with
audio explanation
Sample program (SAMPLE1.CBL) with comments and input/output
Show program SAMPLE1.CBL on COBOL coding form
Introductory notes on flowcharting
Relating flowchart for SAMPLE1 to code for SAMPLE1
Instructions
Downloading programs from the Internet
COBOL in K104 - login instructions
Compiling and running at BCC
Possible problems installing MicroFocus COBOL at home
More information on using MicroFocus COBOL
Headers
Notes on headers
Program with input and output
Report layout and output of headers from SAMPLE2.CBL
Numeric data
Notes on literals
Toys1 program with audio
- this program is really an example of headers on page 1 with some numeric data editing
Toys1 program with input/output
- covers headers on page one and some numeric data editing
Examples of data editing
Same examples of data editing, but with audio explanation
Notes on calculations
Notes on constants
Notes on working with percents
Final Totals
Notes on final total lines
Program with final total lines and audio explanation
Flowchart of final total logic with explanations
fintot.html
Sample program used as basis for ones below.
fintot1.html
Minor changes to a program with a total line.
fintot2.html
Different style for writing a total line.
fintot3.html
Final total program with calculation on detail line.
fintot4.html
Final total program with detail line set up in WORKING-STORAGE
IF conditions, level 88 and case structure
Notes on IF statements
Notes on level 88
Notes on case structure
Notes on implied if
Logic flowchart linked to program if88in1.cbl
IF statement program with notes
(program is mathif.cbl)
IF statement program with audio explanation
Editing data for accuracy
Notes on checking/editing data for validity
Explanation of payedit program including both written and audio
Flowchart and related code for payedit.cbl
Hierarchy chart for payedit.cbl
Hierarchy chart for payedit1.cbl
Breaks (Minor, Intermediate and Major)
Notes on break processing
Includes minor, intermediate and major breaks as well as group indicating and group printing
Hierarchy chart and logic flowchart with mapping to program -MINOR.CBL
Tables
Notes on one dimensional tables
Notes on two and three dimensional tables
Send e-mail to Mrs. Grocer:
pgrocer@bristol.mass.edu
Back to the Top
Return to home page
Return to previous page