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-28
CHECKPOINT Statement
CHECKPOINT Statement
The CHECKPOINT statement causes the current context for the terminal, such as
Working-Storage items, to be checkpointed.
This statement causes an additional checkpoint. Automatic checkpointing occurs as
follows:
At execution of a BEGIN-TRANSACTION statement, the TCP performs a full
context checkpoint.
At execution of an END-TRANSACTION statement, the TCP performs a full
context checkpoint.
For a SEND statement to a server not using TMF (PATHCOM command SET
SERVER TMF OFF), the TCP performs a checkpoint before and after the SEND.
At execution of a RECONNECT MODEM statement, the TCP performs a full
context checkpoint.
No automatic checkpointing occurs on a SEND statement to a TMF server (SET
SERVER ON). For more information about TCP checkpointing, see the TCP
checkpointing strategy description in the Compaq NonStop™ Pathway/iTS TCP and
Terminal Programming Guide.
If the CHECKPOINT statement is issued while the terminal is in transaction mode, the
terminal is suspended for pending abort.
CLEAR Statement
The CLEAR statement prepares the terminal for a new set of input. This statement
cannot be used by programs communicating with intelligent devices.
This statement stores null values into all unprotected fields of the screens currently
displayed and resets the modified data tag (MDT) bits of all unprotected fields on
terminals that use MDT. Except for the MDT, the attributes of the fields are not
affected.
The CLEAR statement differs from the RESET statement as follows:
CLEAR affects all unprotected fields on the display screen; RESET affects only
those fields specified in the statement, whether the fields are protected or not.
CLEAR causes all unprotected fields to become blank; RESET returns all fields to
the initially declared values.
CLEAR does not affect field attributes, although the MDT bits are cleared; RESET
returns all fields to their initial values.
CHECKPOINT
CLEAR INPUT