Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

The COBOL that we shall use
An aside: The set-up of your environment
Aside continued: File extensions
Hello, world
Hello, world in Animator
Layout of lines of code (continued)
Hello, world (continued)
COBOL: That is data processing - I.E. D.P
An echo from the East Indies
Echo: syntax
Syntax (continued)
Declaring variables
COBOL's data model
COBOL's data model (continued)
Returning to echo's Data Division
An Aside about ACCEPT
Keyed Value Stored
First look at the PIC clause: decimal fractions
First look at the PIC clause: signed numbers
First look at the PIC clause: alphabetic and alphanumeric
Name-formation and constants
More verbs
ADD (continued)
A complete ADD example
What the example does
SIZE ERROR clauses
Add example (continued)
ADD example in 74 style
ADD example using PERFORM
The ADD example using NOT
Defensive programming
SUBTRACT (continued)
Some of these are wrong
Transfer of control: IF
IF (continued)
Matching ELSE with its IF
Catastrophe caused by omitting inner END-IF
Transfer of control: Out-of-line PERFORM
Out-of-line PERFORM, continued
Benefits of out-of-line PERFORM
Global variables
Out-of-line PERFORM (continued)
Order of execution of COBOL paragraphs
Order of execution (continued)
Order of execution: STOP
Nested Out-of-line PERFORMS
Nested Out-of-line PERFORMS (continued)
Out-of-line PERFORM : loops
Types of loop
Loops (continued) : In-line PERFORM
Sample program: count-controlled out-of-line loop
Sample program re-written with in-line loop
Loops (continued): trailing test
Writing conditions (simplified)
Relation conditions
The evaluation of relation conditions
Declaration of hierarchical data in records
Declaration of records (continued)
MOVE (first look)
MOVE (continued)
Corresponding (continued)
Files: Overview
Reading a (sequential) file: example plus commentary
More than one type of input record
More than one type of input record (continued)
Writing a (sequential) file
Edited PICs
Simple example of editing
Editing in detail: Alphanumeric edited
Editing in detail: Numeric edited
Numeric edited in detail
Numeric edited in detail (continued)
More on comma
More on full-stop
Example of file input & editing
Example of file input & editing (continued)
Example of file input & editing (concluded)
Back to the Data Division - REDEFINES
REDEFINES (continued)
Using REDEFINES with condition-name
Still in the Data Division: OCCURS
Simple one-dimensional table: example
One-dimensional array of group item
Initialisation using REDEFINES
A simple table look-up
What are we subscripting?
Multi-dimensional tables
Looping across multi-dimensional tables
Searching an indexed table
Searching a sorted table
Searching a sorted table (continued)
Reading a table from a file: declarations
Reading a table from a file: counting the rows as we read
Basic sort: example
Sorting plus user programming
Own-coding the input to a sort
Telephone bills
Telephone bills, continued
Telephone bills: Own-coding the input
Telephone bills: Own-coding the output
Telephone bills: Own-coding the output, continued
Classic master/transaction processing
On-line Transaction Processing
Designing a batch application
Designing a batch application (continued)
Classic merge of transaction and master
A sample problem
Sample run of batch update
Batch update, algorithm
Files and OLTP
Managing indexes
Loading an indexed file
Loading an indexed file (continued)
Direct access to an indexed file
Direct access to an indexed file (continued)
Some useful verbs: EVALUATE
EVALUATE (continued)
String handling
String handling: INSPECT
String handling: UNSTRING
String handling: STRING
0 of .
Results for:
No results containing your search query
P. 1
cobol ppt

cobol ppt

Ratings: (0)|Views: 970|Likes:
Published by reddy66678

More info:

Published by: reddy66678 on Oct 05, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 5 to 36 are not shown in this preview.
You're Reading a Free Preview
Pages 41 to 88 are not shown in this preview.

Activity (8)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Shani Suthar liked this
lionkingsr liked this
S KUMAR liked this
sdineeshkumar liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->