Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)

Procedure Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual426750-003
6-95
SCROLL Statement
Execution of this statement indicates the current attempt to perform the transaction
failed because a transient problem occurred.
The statement requests TMF to back out any updates made on a database during this
transaction; terminal execution resumes at the BEGIN-TRANSACTION statement.
TMF assigns a new transaction-ID to the transaction; the TCP marks the screen for
screen recovery and increments by 1 the special register RESTART-COUNTER. The
special register TERMINATION-STATUS remains at 1 (which indicates that the
transaction is started or restarted). Working-storage items are restored to the values
they had at execution of BEGIN-TRANSACTION. If the BEGIN-TRANSACTION
statement includes the ON ERROR phrase, the ON ERROR branch is executed.
The execution of this statement can cause suspension of a terminal for a pending abort
for two reasons:
The terminal is not in transaction mode when this statement executes.
A fatal error occurs while attempting to back out the updates made on the
database.
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
SCROLL { UP }
overlay-area-name
{ DOWN }