Download presentation
Presentation is loading. Please wait.
Published byOphelia Craig Modified over 9 years ago
1
UNIT 1 UNIT 1 Stephen S. Linkin Houston Community College System 8/28/2007 1 Copywrite © Houston Community College System 2007 Graphics Courtesy of IBM. And Course Technologies (Shelly and Cashman)
2
Advantages of COBOL Disadvantages of COBOL 8/28/2007 2
3
Stream input/output vs. record input/output Blocking Records 8/28/2007 3
4
Step 1 - Understand the problem Step 2 - Design the program Step 3 - Code the program Step 4 - Test the program Step 5 - Document the program 8/28/2007 4
5
SEQUENCE Top-down design/top-down programming Divisions of a COBOL program ◦ IDENTIFICATION DIVISION ◦ ENVIRONMENT DIVISION ◦ DATA DIVISION ◦ PROCEDURE DIVISION 8/28/2007 5 SELECT CASE ITERATION
6
8/28/2007 6 Copywrite Houston Community College System 2007
7
8/28/2007 7 Copywrite Houston Community College System 2007
8
A case study 8/28/2007 8 Copywrite Houston Community College System 2007
9
Hierarchy charts Pseudocode Flowcharts 8/28/2007 9 Copywrite Houston Community College System 2007
10
PROGRAM-ID AUTHOR, INSTALLATION, DATE-WRITTEN, and DATE-COMPILED Comment box Format notation 8/28/2007 10 Copywrite Houston Community College System 2007
11
SELECT statements 8/28/2007 11 Copywrite Houston Community College System 2007
12
FILE SECTION FD level indicator ◦ Level numbers Picture clauses WORKING-STORAGE SECTION SWITCHES ACCUMULATORS Work area fields 8/28/2007 12 Copywrite Houston Community College System 2007
13
MAIN-PROGRAM Initialization Process-file Process-record Heading routine Wrap-up 8/28/2007 13 Copywrite Houston Community College System 2007
14
Designing the Inventory Vendor Report ◦ Inventory Vendor Report ◦ Hierarchy chart ◦ Program flowchart ◦ Inventory File record layout ◦ Inventory Vendor Report program 8/28/2007 14 Copywrite Houston Community College System 2007
15
CONFIGURATION SECTION SPECIAL NAMES INPUT-OUTPUT SECTION 8/28/2007 15 Copywrite Houston Community College System 2007
16
Data categories ◦ Alphabetic (Text) ◦ Alphanumeric (Mixed) ◦ Numeric ◦ Alphanumeric Edited ◦ Numeric Edited 8/28/2007 16 Copywrite Houston Community College System 2007
17
Floating dollar signs Plus sign Minus sign Credit symbol and debit symbol Blank, zero, and slash BLANK WHEN ZERO clause JUSTIFIED RIGHT clause Scaling — P symbol 8/28/2007 17 Copywrite Houston Community College System 2007
18
COBOL Field names must be unique Qualified Names (Implied Duplication) 8/28/2007 18 Copywrite Houston Community College System 2007
19
8/28/2007 19 Copywrite Houston Community College System 2007
20
8/28/2007 20 Copywrite Houston Community College System 2007
21
8/28/2007 Copywrite Houston Community College System 200721
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.