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

Procedure Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual426750-003
6-63
DISPLAY RECOVERY Statement
When a shadowed screen field has an associated Working-Storage item with its
SELECT bit set to 1, the screen field acquires its initial screen contents from its FROM
or USING Working-Storage data item. Otherwise, the initial screen contents are
acquired from the compile-time literal value or the default initial value.
The DISPLAY BASE statement must appear before the DISPLAY OVERLAY
statement, or else an error is generated.
The overlay area must be at least as large as the overlay screen. An overlay screen
cannot be displayed in more than one overlay area at the same time.
DISPLAY RECOVERY Statement
The DISPLAY RECOVERY statement initiates screen recovery. A program can use
this statement to implement a request by a terminal operator for screen recovery, thus
eliminating duplication of code for recovery actions.
This statement cannot be used by programs communicating with intelligent devices.
When DISPLAY RECOVERY runs, the standard error recovery procedure is run. The
recovery process performs the equivalent of a DISPLAY BASE statement for the
current base screen followed by a DISPLAY OVERLAY operation for all currently
active overlay screens. The screen recovery process then runs any screen recovery
declarative procedures that have been provided in the SCREEN COBOL program.
DISPLAY Statement
The DISPLAY statement formats data for selected output fields for transmission to the
screen.
The DISPLAY BASE statement operates differently for terminals in block mode than it
does for terminals in conversational mode. It cannot be used for communication with
intelligent devices.
TEMP or TEMPORARY
marks the fields so that they will be reset to their default values when the next
RESET TEMP or ACCEPT statement has completed executing.
If the terminal is operating in conversational mode, this phrase is ignored and
DISPLAY performs normally. To change, temporarily, the value of a screen item,
DISPLAY RECOVERY
DISPLAY [ TEMP ] [
nonnumeric-literal
IN ]
[ TEMPORARY ]
{
screen-identifier
} ,...
[ DEPENDING [ ON ]
identifier
]
[ SHADOWED ]