SCREEN SET_CURSOR_ABS moves the cursor to a specified row and column position.
SCREEN SET_CURSOR_ABS /USING/ window_id, row column
window_id |
is an integer system field, Global Storage (GS) field, or user-defined field that contains the window ID assigned to the window. |
row |
is an integer expression that specifies the absolute row position to which the cursor will move from the current cursor position. If zero, the cursor remains at the current row. |
column |
is an integer expression that specifies the absolute column position to which the cursor will move from the current cursor position. If zero, the cursor remains at the current column. |
SCREEN SET_CURSOR_ABS USING MAIN_ID 5 5
In this example, the cursor moves from the current cursor position to row 5, column 5.