z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LEFT—Scroll Left

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The LEFT macro command scrolls data to the left of the current panel position.

Syntax

Read syntax diagramSkip visual syntax diagram
Macro command syntax

>>-ISREDIT--LEFT--amt------------------------------------------><

amt
The scroll amount, the number of columns (0-9999) to scroll, or one of these operands:
MAX
Displays the first page of data to the left.
HALF
Displays the next half-panel of data to the left.
PAGE
Displays the next full panel of data to the left.
CURSOR
Scrolls until the column on which the cursor is located becomes the first data column on the panel.
DATA
Scrolls until the first column on the current panel of data becomes the last column on the next panel.

Description

The editor stops scrolling when it reaches the current BOUNDS setting. For example, if the left bound is position 9 and positions 21 to 92 are displayed, issuing ISREDIT LEFT 20 leaves positions 9 to 80 displayed, not 1 to 72.

To scroll to the left using the panel position when the macro was issued, use USER_STATE assignment statements to save and then restore the panel position operands.

If you define a macro named LEFT, it overrides the LEFT command when used from another macro. LEFT does not change the cursor position and cannot be used in an initial macro. For further information, see the BOUNDS and DISPLAY_COLUMNS descriptions.

Return codes

0
Normal completion
4
No visible lines
8
No data to display
12
Amount not specified
20
Severe error

Examples

To scroll the display to the left by the number of columns specified in variable &COL:
ISREDIT LEFT &COL

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014