The MODFIY-SCREEN-LAYOUT statement is used to change the sequence and size of the diagnostic windows displayed on the screen.
Format
MODIFY-SCREEN-LAYOUT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Operands
FIRST-WINDOW = *UNCHANGED / <integer 0..99>(...)...NINTH-WINDOW = *UNCHANGED / <integer 0..99>(...)
The specified window is located at the position indicated by the operand name (FIRST-, SECOND-, ..., NINTH-WINDOW). For instance, specifying SECOND-WINDOW=5 causes window number 5 to be placed in the second position on the screen, provided that there is sufficient space on the screen. Windows 0 - 9 and 21 - 99 are supported; windows 10 - 20 are 'reserved'.
SIZE = *UNCHANGED / <integer 2..19>
A new size is defined for the specified window. It is possible to specify anything from 2 to 19 lines.
Example
MODIFY-SCREEN-LAYOUT FIRST-WINDOW = 9(SIZE=4), SECOND-WINDOW = 33, THIRD-WINDOW = 4
Restriction
If the operand names FIRST-WINDOW, ... NINTH-WINDOW are used in the statement, they must be used in an unbroken sequence and FIRST-WINDOW must be the first operand used.
This means that the following statements are not permitted:
MODIFY-SCREEN-LAYOUT THIRD-WINDOW = 1(SIZE=4) MODIFY-SCREEN-LAYOUT FIRST-WINDOW = 4, THIRD-WINDOW = 5
It is recommended that you use positional operands for the entries:
MODIFY-SCREEN-LAYOUT 9, 4, 6, 33(2)