Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)
Procedure Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual—426750-003
6-93
RESET Statement
For a terminal operating in conversational mode, RESET DATA has no effect; you
can specify either RESET ATTR or RESET TEMP ATTR to reset the display
attributes of fields on conversational-mode terminals.
screen-identifier
specifies the fields to be reset; the maximum is 127 screen fields per RESET
statement. Each
screen-identifier
can name an entire screen, a screen
group, or an elementary item of any base or overlay screen that is currently
displayed. If
screen-identifier
is a group, all subordinate elementary items
that have a TO, FROM, or USING clause in their definitions are reset.
DEPENDING ON
identifier
selects zero or one
screen-identifier
from the list. The statement whose
position in the
screen-identifier
list is the same as the value in
identifier
is selected. If the value in
identifier
is less than 1 or greater than the number
of screen identifiers, no
screen-identifier
is selected.
SHADOWED
selects from the
screen-identifier
list only those fields that have
SHADOWED items in which the SELECT bit is set; fields that do not have
SHADOWED items are not selected.
When the RESET statement is executed, the attributes and data of the selected fields
are reset to their initial values.
RESET does not cause a physical write to the screen but causes data to be written to
the terminal buffer. A physical write to the screen occurs when one of the following
events occurs:
•
TERMBUF fills up
•
Execution of one of the following statements:
ACCEPT
BEGIN-TRANSACTION
END-TRANSACTION
RESTART-TRANSACTION
ABORT-TRANSACTION
CALL
CHECKPOINT
DELAY
EXIT PROGRAM
PRINT SCREEN
SEND
•
Execution of DISPLAY for a conversational terminal
Note. If neither the DEPENDING ON modifier nor the SHADOWED modifier is specified, all
fields in the
screen-identifier
list are selected.










