Skip to Content
Beginning COBOL for Programmers
book

Beginning COBOL for Programmers

by Michael Coughlan
March 2014
Intermediate to advanced
588 pages
15h 43m
English
Apress
Content preview from Beginning COBOL for Programmers

CHAPTER 5

image

Control Structures: Selection

The last chapter noted that programs that consist only of a sequence of statements are not very useful. To be useful, a program must use selection constructs to execute some statements rather than others and must use iteration constructs to execute certain statements repeatedly.

In this chapter, you examine the selection constructs available to COBOL. In addition to discussing the IF and EVALUATE statements, this chapter also discusses the condition types recognized by the selection constructs, the creation and use of condition names, the use of the SET verb to manipulate condition names, and the proper ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ultimate Go Programming, Second Edition

Ultimate Go Programming, Second Edition

William Kennedy
Clean Code Fundamentals

Clean Code Fundamentals

Robert C. Martin
Head First Java, 3rd Edition

Head First Java, 3rd Edition

Kathy Sierra, Bert Bates, Trisha Gee

Publisher Resources

ISBN: 9781430262534Purchase book