Professional Documents
Culture Documents
Nassau Community College: Nancy Stern Hofstra University Robert A. Stern
Nassau Community College: Nancy Stern Hofstra University Robert A. Stern
Programming
“Copyright @ 2000 John Wiley & Sons, In. All rights
Robert A. Stern or damages, caused by the use of these programs or from the
use of the information contained herein.”
Nassau Community
College 9th Edition
PowerPoint Presentation:
Richard H. Baum, Ph.D.
DeVry Institute of Technology
CHAPTER 4
Coding Complete COBOL
Programs
A Closer Look at the
PROCEDURE DIVISION
and the PERFORM
Statement
OBJECTIVES
• Looking Ahead
• Review of Comments in COBOL
• Year 2000-Compliant Date Fields
Solution: opened
Structured COBOL Programming, Stern & Stern, 9th Ed
ition
SELF-TEST
Solution: READ
Structured COBOL Programming, Stern & Stern, 9th Ed
ition
SELF-TEST
Solution: READ . . .
AT END . . .
NOT AT END . . .
END-READ.
Structured COBOL Programming, Stern & Stern, 9th Ed
ition
SELF-TEST
Solution: PERFORM
WRITE record-name-1
(identifier-1)
= (or IS EQUAL TO) identifier-2
< (or IS LESS THAN) literal-1
> (or IS GREATER THAN)