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-37
DISPLAY Statement
When DISPLAY RECOVERY executes, the standard error recovery procedure is
executed. 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 executes 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,
the current value of the associated Working-Storage item must be saved, the value
changed, the new value displayed, and the previous current value restored.
nonnumeric-literal
is a value that is sent to the terminal for each selected field. The value is not
converted; it is truncated or extended with the fill character if necessary. The value
must be in quotation marks.
If this clause is omitted, the data for a selected screen field is obtained from the
Working-Storage data item specified in the FROM or USING clause of the screen
field description. The data is converted and edited according to the screen field
declaration, and those characters are placed in the field on the terminal display.
screen-identifier
is a screen, screen group, or elementary output item of any active screen; the
maximum is 127 items per DISPLAY statement. When screen-identifier is
not an elementary item, it refers to all subordinate elementary items that have a
VALUE, FROM, or USING clause in their definitions.
DISPLAY [ TEMP ] [ nonnumeric-literal IN ]
[ TEMPORARY ]
{ screen-identifier } ,...
[ DEPENDING [ ON ] identifier ]
[ SHADOWED ]