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

Procedure Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual426750-001
6-68
SCROLL Statement
SCROLL Statement
The SCROLL statement moves the contents of an overlay area up or down. This
statement can be used only with the 6510 terminal; it cannot be used for communicating
with other terminals or with intelligent devices.
UP
moves the data displayed in the overlay area of the screen up one line toward the top
of the screen. A blank line appears at the bottom of the overlay area, and the top
line in the overlay area is lost.
DOWN
moves the data displayed in the overlay area of the screen down one line toward the
bottom of the overlay. A blank line appears at the top of the overlay area, and the
last line in the overlay area is lost.
overlay-area-name
is the name of the screen overlay area. The overlay screen associated with the area
can contain only output or literal fields. Literal fields are displayed only when the
overlay screen is initially displayed in the area.
SEND Statement
The SEND statement declares the data structure associated with each valid reply code
value. The SEND statement sends a transaction request message to a server process and
receives a reply from that server process. The SEND statement includes the message
and a list of reply specifications.
In processing the SEND statement, the TCP retains the reply code values to use when
the server sends the reply. Upon receipt of a reply, the TCP compares the reply code
value to the list of reply code values and determines which reply was received and,
consequently, determines the structure of the data. The TCP then copies the reply into
the SCREEN COBOL program.
SCROLL { UP } overlay-area-name
{ DOWN }
SEND [ identifier-1 ] ,... TO server-class-name
[ UNDER PATHWAY pathmon-name ]
[ AT SYSTEM system-name ]
[ REPLY { CODE { reply-code-value } ...
YIELDS [ VARYING ] {identifier-2 } ... } ...
CODE OTHER YIELDS [ VARYING ] { identifier-2 } ...
[ ON ERROR imperative-statement ]