ISPF scroll amounts: PAGE, HALF, CSR, DATA, MAX and numbers
What each ISPF Scroll ===> value does (PAGE, HALF, CSR, DATA, MAX or a number), how to override it once from the command line, and why MAX never stays.
Most ISPF panels with more data than fits on the screen have a Scroll ===> field at the top right, next to the command line. Its value decides how far each scroll key moves.
The scroll keys
- PF7: up (the
UPcommand) - PF8: down (
DOWN) - PF10: left (
LEFT) - PF11: right (
RIGHT)
Your site or your own key list can assign them differently.
What each value does
- PAGE (or
P): one full page. A page is what is visible on the logical screen, not counting function key lines. In a split screen with 12 visible lines, PAGE moves 12 lines. - HALF (
H): half a page. - DATA (
D): one line less than a page, or one column less when scrolling sideways. The last line of the old page stays at the top as a reference. - CSR (
C): moves the line or column under the cursor to the top, bottom, left or right edge, in the direction you scroll. If the cursor is not in the data, or is already at that edge, you get a full page. - MAX (
M): goes straight to the top, bottom, left margin or right margin. - A number, such as
15: that many lines or columns. The scroll field takes up to four digits.
Why MAX does not stay
Every value except MAX stays in the field until you change it. After a MAX scroll, ISPF puts the previous value back. That is deliberate, so one jump to the bottom does not turn every later PF8 into another jump.
Override it for one scroll
Type a scroll amount on the command line and press a scroll key. For example, type MAX and press PF8 to go to the bottom, or type 5 and press PF7 to go up five lines. The value in the Scroll field does not change.
DOWN MAX and UP 3 typed as commands do the same thing. If ISPF does not recognize what you typed as a scroll amount, it treats it as a command instead.
Separate values for Browse, Edit and lists
ISPF saves the scroll amount in your application profile, with one value for Browse, one for Edit and View, and one for member lists. Setting CSR in Edit does not change Browse.
INVALID SCROLL AMOUNT
This message means the Scroll field or a scroll command holds something ISPF does not accept. Enter PAGE, HALF, DATA, MAX, CSR or a number up to four digits. Press PF1 (Help) to see the valid entries.
Related
- ISPF navigation basics
- ISPF split screen: SPLIT, SWAP, SWAP LIST and START
- Show hexadecimal in ISPF Edit and Browse
- PA and PF keys in practice