


The LINE clause specifies the row on which the screen entry is to be placed.
General Format
LINE [ NUMBER IS [PLUS] line-no ]
[ + ]
[ - ]
Syntax Rules
1. Line-no is a numeric literal or data item.
2. Line-no may not be subscripted or reference modified.
General Rules
1. The LINE clause specifies the screen row on which to place the screen entry. Line number 1 is the line number specified in the AT phrase of the ACCEPT or DISPLAY statement. If the AT phrase is not specified, then line number 1 is the first line of the current screen window.
2. The LINE clause without the PLUS option specifies an absolute line number.
3. The LINE clause with the PLUS option specifies a line number relative to the previous screen entry in the group. If the PLUS or "+" option is used, line-no is added to the previous line number. If the "-" option is used, line-no is subtracted from the previous line number.
4. If relative positioning is specified for a level 01 screen entry, the position is relative to LINE 1.
5. If line-no is not specified, then LINE PLUS 1 is implied.
6. If the LINE clause is omitted:
a) If no previous screen item has been defined, LINE 1 is assumed.
b) If a previous screen item has been defined, the line of that previous item is used.