SET CURLINE
Purpose
Use the CURLINE option to define the position of the current line on the screen.
Operands
- ON
- displays the current line on the screen.
- M
- specifies the line in which the current line is displayed. The M stands for middle of the screen (rounded up for odd sized screens).
- Mn
- M+n
- M-n
- You can combine M with a constant positive (+ is implicit) or negative integer to mean n lines below the middle of the screen (M+n), or n lines above the middle of the screen (M–n). For example, CURLINE ON M means the middle of the screen, and CURLINE ON M+3 means three lines below the middle of the screen.
- n
- +n
- -n
- specifies the line in which the current line is displayed. The n or +n (+ is implicit) specifies the current line is displayed n lines from the top of screen; –n specifies the current line is displayed n lines from the bottom of screen. For example, CURLINE ON –3 means the current line is three lines from the bottom of the screen.
Initial Setting
CURLINE ON M (middle of the screen)Usage Notes
- Under certain conditions, the current line as it appears on your display screen does not have
the same line number you specified on the SET CURLINE subcommand. This occurs when the CURLINE line
setting is the same as the line setting for any of these SET options:
- SET RESERVED
- SET SCALE
- SET TABLINE
- SET MSGLINE
- When the CURLINE line setting is the same as the line setting for SET SCALE, for example, the
scale occupies the specified line and the current line is moved down to the next available line.
Note: Other subcommands that refer to CURLINE (EXTRACT, for example) use the true current line regardless of where it happens to appear on the display screen.
Examples
For more information, see z/VM: XEDIT User's Guide.
Messages and Return Codes
- 520E
- Invalid operand: operand [RC=5]
- 521E
- Invalid line number [RC=5]
- 526E
- Option option valid in display mode only [RC=3]
- 545E
- Missing operand(s) [RC=5]
where return codes are:
- 0
- Normal
- 3
- Operand is valid only for display terminal
- 5
- Invalid or missing operand(s) or number
- 6
- Subcommand rejected in the profile due to LOAD error, or QUIT subcommand has been issued in a macro called from the last file in the ring
