Window Border Commands

Purpose

Border commands are single-character commands you enter in the corners of the window border to control the window's movement and characteristics.

The commands are processed as soon as they are entered.

The border commands are:
B
Scrolls the window backward
C
Clears the window of scrollable data
D
Drops the window
F
Scrolls the window forward
H
Hides the window
L
Scrolls the window to the left
M
Moves the window
N
Minimizes the window
O
Restores the window
P
Pops the window
R
Scrolls the window to the right
S
Changes the size of the window
X
Maximizes the window

Usage Notes

  1. Use the SET BORDER command to control the characteristics of the borders around a window. The borders are ON by default.
  2. The border commands can be placed in any of the four corners of the window border. For example:
    
        ┌---------------D         ┌---------------┐
        │               │         │               │
        │               │         │               │
        └---------------┘         │               │
                                  P---------------┘
    
    are valid ways to enter border commands. You can type multiple border commands in several windows before pressing Enter.
  3. When multiple commands are entered, the order of execution is from left-to-right and top-to-bottom on the physical screen regardless of the order of the windows. For example:
        B ---------------------------- +
        |       Window A               |
        |                              |
        |                  F ------------------- R
        |                  |      Window B       |
        P ---------------- |                     |
                           |                     |
                           |                     |
                           X ------------------- +
    executes command B first, then command F, then command R, then command P, and finally command X.

Messages and Return Codes

  • DMS931E Invalid border command: character

For more information about and examples of how to use the window border commands, see z/VM: CMS User's Guide.