SCREEN SET_WINDOW_SCROLL_REGION creates a logical scrolling region in the specified window, using the specified starting and ending rows. It does not change the appearance of the terminal screen or the cursor position.
SCREEN SET_WINDOW_SCROLL_REGION /USING/ window_id start_row end_row
window_id |
is an integer system field, Global Storage (GS) field, or user-defined field that contains the window ID assigned to the window. |
start_row |
is an integer expression that specifies the first line of the scrolling region. If zero, the first line of the window is used. |
end_row |
is an integer expression that specifies the last line of the scrolling region. If zero, the last line of the window is used. |
SCREEN SET_WINDOW_SCROLL_REGION USING MAIN_ID 15 20
This example sets an area of the window from row 15 to row 20 for scrolling.