Window and Virtual Screen Tables

If you are interested in tailoring windows or virtual screens, you may find it useful to refer to Table 1 for the full-screen CMS default characteristics for windows and Table 2 for virtual screens.

Table 1. Default Windows
Window Lines Cols Psline Pscol Options
STATUS 1 Pscr -1 1
FIXED
NOBORDER
NOPOP
NOTOP
CMS Pscr Pscr 1 1
FIXED
BORDER
NOPOP
TOP
NETWORK 8 (max.) 71 -12 7
VARIABLE
BORDER
NOPOP
TOP
WARNING 6 (max.) 71 3 3
VARIABLE
BORDER
POP
TOP
MESSAGE 8 (max.) 71 11 3
VARIABLE
BORDER
POP
TOP
WM 5 Pscr -1 1
FIXED
BORDER
NOPOP
NOTOP
CMSOUT 8 75 9 3
VARIABLE
BORDER
POP
TOP
BORDER
The window borders are displayed when possible.

In the case of the CMS window, even though the borders are on, you cannot see them because the window is the size of the physical screen.

FIXED
The number of lines in the window is always constant.
NOBORDER
The window borders are not displayed.
NOPOP
There is no effect on the window's position in the ordered list of windows when the virtual screen that the window is showing is updated.
NOTOP
The window cannot qualify as the topmost window.
POP
The window is displayed on top of all other windows when the virtual screen that the window is showing is updated.
Pscol
The column on the physical screen where the upper left corner of the window is placed.
Pscr
Size of the physical screen.
Psline
The line on the physical screen where the upper (when psline is positive) or lower (when psline is negative) corner of the window will be placed.
TOP
The window may qualify as the topmost window.
VARIABLE
The number of lines in the window may vary from zero to the maximum, depending on the amount of scrollable data to be displayed.

Although the WM window is a default window, it is not defined when you enter full-screen CMS. The WM window is defined when you enter the command WINDOW POP WM, when you press the PA1 key when CMS is the active virtual screen, or when the window is automatically displayed on your screen. All default windows are SYSTEM windows; they are not lost when the system abends, or when the HX (halt execution) command is entered.

Table 2. Default Virtual Screens
Virtual Screen Lines Cols Rtop Rbot Dcolor Options
WM 1 Pscr 0 5 White NOPROTECT
STATUS 1 Pscr 0 0 White PROTECT
NETWORK 16 70 2 0 Blue PROTECT
WARNING 4 70 2 0 Red PROTECT
MESSAGE 20 70 2 0 White PROTECT
CMS 120 Pscr 2 5 Green NOPROTECT
Dcolor
Data color (if your terminal is equipped for color)
NOPROTECT
You can type into the window(s) connected to virtual screen; the data is not protected.
PROTECT
You cannot type into the window(s) connected to the virtual screen because the data is protected.
Pscr
Physical screen size. For terminals with a screen size of 80 columns or less, the CMS virtual screen contains 81 columns. For terminals with a screen size greater than 80 columns, the CMS virtual screen contains the same number of columns as the physical screen. The status and WM virtual screens always contain the same number of columns as the physical screen.
Rbot
Bottom reserved lines
Rtop
Top reserved lines

Although the WM virtual screen is a default virtual screen, it is not defined when you enter full-screen CMS. The WM virtual screen is defined when you enter the command WINDOW POP WM, when you press the PA1 key when CMS is the active virtual screen, or when the window is automatically displayed on your screen.

All default virtual screens are TYPE virtual screens. TYPE means data is moved to the virtual screen when the virtual screen is updated. In addition, all default virtual screens are SYSTEM virtual screens. SYSTEM means the virtual screen is retained when the system abends, or when the HX (halt execution) command is entered.

These CMS commands are unusable for the STATUS default virtual screen:
  • SET LOGFILE
  • SET VSCREEN
  • VSCREEN CLEAR
  • VSCREEN CURSOR
  • VSCREEN GET
  • VSCREEN PUT
  • VSCREEN ROUTE
  • VSCREEN WAITT
  • VSCREEN WAITREAD
  • VSCREEN WRITE

However, the CMS commands VSCREEN DELETE and VSCREEN DEFINE may be used to replace the STATUS default virtual screen with a user version that will allow execution of these CMS commands.