SET SCALE
Purpose
Use the SCALE option to control the display and position of the scale line on the screen. The scale line provides assistance while editing.
Operands
- ON
- displays the scale on the screen.
- M
- specifies the line on which the scale 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, SCALE ON M means the middle of the screen, and SCALE ON M+3 means three lines below the middle of the screen.
- n
- +n
- -n
- specifies the line on which the scale line is displayed. The n or +n (+ is implicit) specifies the scale line is displayed n lines from the top of the screen; –n specifies the scale line is displayed n lines from the bottom of the screen. For example, SCALE ON –3 displays the scale line three lines from the bottom of the screen.
- OFF
- removes the scale from the screen.
Initial Setting
SCALE ON M+1
Usage Notes
- The scale looks like this:
<...+..|.1....+....2....+....3.>..+....4T...+....5....+....6....+....7... . . . . . . . . . .column pointer . . . . .truncation column .left zone .right zone - If a line occupies more than one screen line and the scale is on an adjacent line, the scale is not displayed for that line. The scale is redisplayed when the line pointer moves to a file line that occupies only one screen line.
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
