WINDOW SIZE

Read syntax diagramSkip visual syntax diagram WINdow SIZe wname= lines cols

Authorization

General User

Purpose

Use the WINDOW SIZE command to change the number of lines and columns for a specified window.

Operands

wname
is the name of the window. An = indicates the size of the topmost window is changed. Only a window defined with the TOP option can qualify as the topmost window.
lines
is the number of lines in the window.
cols
is the number of columns in the window. The default is the current number of columns.

Usage Notes

The window's size and location must be such that, excluding borders, the entire window fits on the physical screen.

Messages and Return Codes

  • DMS386E Missing operand(s) [RC=24]
  • DMS388E Invalid keyword: keyword [RC=24]
  • DMS389E Invalid operand: operand [RC=24]
  • DMS391E Unexpected operand(s): operand [RC=24]
  • DMS921E Window wname is not defined [RC=28]
  • DMS922E Window does not fit entirely on the screen [RC=32]

Additional system messages may be issued by this command. The reasons for these messages and their location are:

Reason Location
Errors in command syntax Command Syntax Error Messages