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 3 - DISPLAY screen-name [ {| LINE NUMBER { line-num } |} ] [ {| { line-id } |} ] [ AT {| |} ] [ {| COLUMN NUMBER { column-num } |} ] [ {| { column-id } |} ] [ END-DISPLAY ]
1 – screen-name
is the name of a screen item defined in the SCREEN SECTION of the program.
2 – line-num
is a numeric literal that specifies a line position on the terminal screen. Line-num must be a positive integer. It cannot be zero.
3 – line-id
is the identifier of a data item that provides a line position on the terminal screen.
4 – column-num
is a numeric literal that specifies a column position on the terminal screen. Column-num must be a positive integer. It cannot be zero.
5 – column-id
is the identifier of a data item that provides a column position on the terminal screen.