Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Data Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
5-23
Screen Description Entry
The syntax for screen description entries is:
Level 01 introduces a screen description entry. This level defines the name of the screen
(a name by which the screen is known throughout the program), defines the size of the
screen, and indicates whether the screen is a base or overlay screen. The intermediate
levels define groups of items. The highest numbered levels define the characteristics of
the screen fields.
The screen description can have the following parts: screen name, screen overlay area,
screen group, and screen field. Each of these parts defines a specific attribute of the
screen. The following example illustrates a screen description entry:
SCREEN SECTION.
01 ENTER-AMT BASE SIZE 12, 80.
05 FILLER AT 1, 12 VALUE "ORDER DETAIL ENTRY".
05 FILLER AT 2, 1 VALUE "CUSTOMER".
05 FILLER AT 4, 1 VALUE "ITEM".
05 FILLER AT 4, 10 VALUE "QUANTITY".
05 LINE1-HEADER AT 5, 1 VALUE "MENU LIST".
05 OVER1 AREA AT 6, 1 SIZE 10,80.
01 OVER1-SCREEN OVERLAY SIZE 10,80.
05 LINE1-OVERLAY AT 2, 10 VALUE
"1 DISPLAY PREVIOUS ORDER".
The input-control character clauses are available for terminals in conversational mode to
define the specific input-control characters to be used during execution of an ACCEPT
statement. These clauses are described later in this section.
The field-characteristic clauses are available to define the characteristics of screen
fields. These clauses are also described later in this section.
SCREEN SECTION.
01 base-screen-name [ BASE ] [ SIZE clause ]
[ input-control-character clauses ]
[ field-characteristic clauses ] ... .
{ screen group } ...
{ screen field }
[ screen overlay area ]
[ 01 overlay-screen-name OVERLAY SIZE clause ]
[ ]
[ [ field-characteristic clauses ] ... . ]
[ ]
[ { screen group } ... ]
[ { screen field } ]