The following form of the SCROLL command moves the window overlooking data forward or backward, according to the cursor or frame position, or by number of pages or lines. You can also move the window to the top or bottom of the data.
This command has the following format:
{{FORWARD } [ CURSOR ]}
{{BACKWARD} [ FRAME ]}
{{+ } [n {PAGES} ]}
{{‑ } [ {LINES} ]}
[SCROLL] { }
{{TOP } }
{{BOTTOM } }
The keyword SCROLL is optional.
Scrolls forward either one frame (when used with the FRAME option) or until the line containing the cursor is positioned at the top of the region (when used with the CURSOR option).
Scrolls backward either one frame (when used with the FRAME option) or until the line containing the cursor is positioned at the top of the region (when used with the CURSOR option).
+ equivalent to FORWARD.
‑ equivalent to BACKWARD.
Scrolls forward or backward until the line containing the cursor is at the bottom or top of the region, respectively. If SET SCROLL CURSOR is in effect, CURSOR is the default.
Scrolls forward or backward by an entire frame, but repeats one context line at the top of the next frame from the current frame. If SET SCROLL FRAME is in effect, FRAME is the default.
Scrolls forward or backward the specified number of report pages.
Scrolls forward or backward the specified number of lines.
Positions the window so that the first line of data is at the top of the region.
Positions the window so that the last line of the data is at the bottom of the region.
To use a + as SCROLL FORWARD or ‑ as SCROLL BACKWARD, you must define other characters as the current defaults for the REPEAT and RESHOW commands.
If you specify TOP or BOTTOM, you cannot include any other option.
Example
SCROLL + + SCROLL - - SCROLL FOR CUR SCR FOR 12 LINES SCR BAC 7 PAGES SCROLL TOP TOP SCROLL BOTTOM BOTTOM
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|