WINDOW LEFT

Read syntax diagramSkip visual syntax diagram WINdow Left =1wname=1n

Authorization

General User

Purpose

Use the WINDOW LEFT command to move the window toward the left edge of the virtual screen the number of columns specified.

Operands

wname
is the name of the window being scrolled. An = indicates the topmost window is scrolled. If this operand is not specified, = is the default. Only a window defined with the TOP option can qualify as the topmost window.
n
is the number of columns to be scrolled. The default for n is 1. If n is specified as 0, the window is moved to column 1.

Usage Notes

  1. The WINDOW LEFT command is valid only when the window is connected to a virtual screen. For more information, see WINDOW HIDE and WINDOW SHOW.
  2. When you scroll forward or backward, only the data area of the screen moves; the reserved lines (PF key definition area and title line) are static. When you scroll left or right, the reserved lines of the screen are scrolled along with the data area of the 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]
  • DMS929E Window wname is not connected to a virtual screen [RC=36]

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

Return codes:

RC
Meaning
0
Normal
3
Scroll amount truncated