Skip to Main Content
PROGRAMMING IN COBOL/400: 2nd Edition
book

PROGRAMMING IN COBOL/400: 2nd Edition

by James Cooper, Nancy Stern, Robert A. Stern
January 2002
Intermediate to advanced content levelIntermediate to advanced
736 pages
18h 57m
English
Wiley
Content preview from PROGRAMMING IN COBOL/400: 2nd Edition

Chapter 14. INTERACTIVE PROGRAMMING

CHAPTER OBJECTIVES

Upon completion of this chapter, you should be able to

  • Describe design considerations when developing screen layouts.

  • Explain how a display file is used in an interactive program.

  • Demonstrate the ability to create and run an interactive program that uses a display file.

BATCH VERSUS INTERACTIVE PROCESSING

BATCH PROCESSING

In previous chapters, sample problems used batch processing concepts. Batch processing means transactions are first gathered together, and then all transactions are processed as a group during one complete job. For example, businesses typically collect payroll data over a period of time and produce payroll checks for each pay period at one time. This is an example of batch processing, that is, collecting and holding all data until output is requested or needed, and then processing the batch all at once.

Several methods can be used for collecting data in a batch environment. In one such method, data are entered on a computer that is not even connected to the main computer system. This type of data entry for future batch processing is called an off-line operation. For example, payroll data might be entered at several corporate sites and then transmitted via telephone lines to the computer at corporate headquarters once a week so that paychecks can be produced in a batch processing operation.

Since batch processing does not process data immediately as it is transacted, users may not be getting the output from the computer ...

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

Designing and Programming CICS Applications

Designing and Programming CICS Applications

John Horswill, Members of the CICS Development Team at IBM Hursley

Publisher Resources

ISBN: 9780471418467Purchase book