... [VALUE val] [LENGTH len] [OFFSET off] [LINE lin] [AREA area].
1. ... VALUE val
2. ... LENGTH len
3. ... OFFSET off
4. ... LINE lin
5. ... AREA area
Using these additions, further information on the cursor position can be imported during
PAI processing if the addition
FIELD is attached to the statement GET CURSOR.
... VALUE val
The VALUE addition assigns the formatted content of the
screen element on which the cursor is positioned to the data object val as a character string. For val, a character-type (prior to Release 6.10
flat) variable is expected.
... LENGTH len
The addition LENGTH assigns the length of the screen element
on which the cursor is positioned to the data object len.
For len, a variable of the type i is expected.
... OFFSET off
The addition OFFSET assigns the position of the cursor within the screen element on which the cursor is positioned to the data object off />. For
off, a variable of the type i is expected.
... LINE lin
If the screen element on which the cursor is positioned is within a
table control or a
step loop, the addition assigns the number
of the row of the table control or the group of the step loop to the LINE
data object lin. Otherwise,
lin is set to 0. For lin, a variable of the type i is expected.
... AREA area
If the screen element on which the cursor is positiioned is within a table control, the addition AREA assigns the name of the table control to the data object area. Otherwise, area is initialized. For area, a character-type (prior to Release 6.10 flat) variable is expected.