SCROLL command operands
- ABSOLUTE
- specifies that the Session Manager is to scroll the window so that the
identified line_number is the top line in the window.
Use the QUERY, SMFIND, or FIND.LINE commands to find specific line
numbers.
- line_number
- The number of the line you want to appear at the top of the window. If you enter a value for line_number that is 0 or less, the Session Manager sets line_number to 1. If you enter a value for line_number that is greater than the highest line number in the stream, the Session Manager sets line_number to the highest line number in the stream.
- BACKWARD
- specifies that the Session Manager is to scroll the window backward toward
the top of the stream.
- pages
- specifies how many pages to scroll the window. (A page is defined
as the number of lines in the window.)
If the AMOUNT keyword is entered, the default is 0. If the AMOUNT keyword is not entered, the default is 1.
If you specify a value that would cause the window to scroll beyond the top or bottom of the stream, the Session Manager adjusts the value to place the window at the top or bottom (depending on the direction of the scrolling).
- lines
- specifies how many lines to scroll the window.
If you specify a value that would cause the window to scroll beyond the top or bottom of the stream, the Session Manager adjusts the value to place the window at the top or bottom (depending on the direction of the scrolling).
- FORWARD
- specifies that the Session Manager is to scroll the window forward toward the bottom of the stream.
- LEFT
- specifies that the Session Manager is to scroll the window toward the left
side of the stream. The limit for scrolling left is column 1 of the
stream.
- columns
- specifies the number of columns to scroll the window.
If the AMOUNT keyword is entered, the default is 0. If the AMOUNT keyword is not entered, the default is 40.
If you specify a value that would cause the window to scroll beyond the left side of the stream, the Session Manager adjusts the value to place the window at column 1 of the stream. Values that would cause the window to scroll beyond column 32768 are adjusted to place the window at column 32,768.
- RIGHT
- specifies that the Session Manager is to scroll the window toward the right side of the stream. The limit for scrolling right is 32,768 column positions.
- NEWEST
- specifies that the Session Manager is to scroll the window forward to the bottom of the stream.
- OLDEST
- specifies that the Session Manager is to scroll the window backward to the top of the stream.
- window_name
- The name of the window to be scrolled.
- AMOUNT
- The amount the window is to be scrolled. AMOUNT can be specified
instead of or in addition to, the operands columns, lines,
or pages. If you enter a value for one of the preceding
operands and a value for AMOUNT, the Session Manager sums the two values and
scrolls the window the resulting amount. The valid AMOUNT values
are:
- HALF
- specifies that the window is to be scrolled half a page. (For forward or backward scrolling, a page is defined as the number of lines in the window. For right or left scrolling, a page is defined as the number of columns in the window.)
- MAX
- specifies that the window is to be scrolled the maximum amount. For forward scrolling, MAX indicates to scroll to the bottom of the stream (equivalent to the SCROLL.NEWEST command). For backward scrolling, MAX indicates to scroll to the top of the stream (equivalent to the SCROLL.OLDEST command).
- PAGE
- specifies that the window is to be scrolled a full page.
- amount
- specifies the number of lines or columns to scroll the window.