VMS Help
COBOL, PROCEDURE_DIVISION, DISPLAY, 2format_screen_extensions
*Conan The Librarian
|
The DISPLAY statement transfers low-volume data from the program to
the default system output device or to the object of a mnemonic-name.
The HP extensions to the DISPLAY statement (formats 2 and 3) are
COBOL language additions that facilitate video forms design and data
handling.
Format 2 -
DISPLAY { src-item
[{| { line-num } |}] }
[{| AT LINE NUMBER { line-id [ PLUS [ plus-num ] ] } |}] }
[{| { PLUS [ plus-num ] } |}] }
[{| { column-num } |}] }
[{| AT COLUMN NUMBER { column-id [ PLUS [ plus-num ] ] } |}] }
[{| { PLUS [ plus-num ] } |}] }
[{| ERASE [TO END OF] { SCREEN } |}] } ...
[{| { LINE } |}] }
[{| WITH BELL |}] }
[{| UNDERLINED |}] }
[{| BOLD |}] }
[{| WITH BLINKING |}] }
[{| REVERSED |}] }
[{| WITH CONVERSION |}] }
[ WITH NO ADVANCING ]
[ END-DISPLAY ]
is a literal or the identifier of a data item. The literal can be
any figurative constant except ALL literal.
is a mnemonic-name defined in the SPECIAL-NAMES paragraph of the
Environment Division.
is a numeric literal that specifies a line position on the terminal
screen. Line-num must be a positive integer. It cannot be zero.
is the identifier of a data item that provides a line position on the
terminal screen.
is a numeric literal that specifies a column position on the terminal
screen. Column-num must be a positive integer. It cannot be zero.
is the identifier of a data item that provides a column position on
the terminal screen.
is a numeric literal that increments the current value for line or
column position, or that increments the value of line-id or
column-id. Plus-num can be zero or a positive integer.