Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
UP—Scroll Up z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The UP macro command scrolls data up from the current panel position. SyntaxMacro command syntax >>-ISREDIT--UP--amt--------------------------------------------><
DescriptionTo scroll up using the panel position when the macro was issued, use USER_STATE assignment statements to save and then restore the panel position operands. When you issue the UP command, the non-data lines on the panel affect the number of lines scrolled. However, if you define a macro named UP, it only overrides UP when used from another macro. UP does not change the cursor position and cannot be used in an initial macro. The
actual number of lines to appear on the panel is determined by:
The first line displayed is determined in one of two ways: (1) a LOCATE command can actually set the line to be first on the panel, or (2) the first line to be displayed depends on whether the cursor was explicitly set by a CURSOR assignment statement or implicitly set by a SEEK, FIND, CHANGE, or TSPLIT command. Since the cursor must be on the panel, the line that is first on the panel may be different from the line that was first when you started the macro. Return codes
ExamplesTo scroll up to the top of the
data set:
To display
the previous half panel of data:
To
display the previous full panel of data:
To
make the line where the cursor is placed the last one on the display:
To display the previous
page less one line:
|
Copyright IBM Corporation 1990, 2014
|