Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)

Introduction to SCREEN COBOL
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual426750-001
1-11
Designing Program Logic
For further information about SCUP and how to use it, refer to the Compaq NonStop™
Pathway/iTS SCUP Reference Manual.
Designing Program Logic
Designing a transaction processing application involves designing SCREEN COBOL
requester programs and servers and partitioning the workload between them. Typical
design practices are discussed in the following paragraphs.
Organizing SCREEN COBOL Program Groups
SCREEN COBOL programs are usually organized into groups of simple, related
programs. Each program performs a discrete function and calls other programs
depending on how the Pathway application is designed to process the transactions.
Figure 1-7
illustrates two typical organizations: the menu and chain.
Both organizations are hierarchical with entry to the group through a single program. In
the menu organization, the main menu screen displays a selection of operations, with
any selection resulting in a call to another simple SCREEN COBOL program that
handles one operation.
Figure 1-7. Program Organizations
007CDT .CDD
Menu Organization Chain Organization
MENU
PROG-A PROG-B PROG-C
PROG-A
PROG-B
PROG-C