QUERY WINDOW

Read syntax diagramSkip visual syntax diagram Query WINDOW *wname*=ALL(STACKFIFOLIFOFIFOLIFO)

Authorization

General User

Purpose

Use the QUERY WINDOW command to display information about one or all of the windows you have defined. Use the SET WINDOW command to specify window characteristics. For more information, see SET WINDOW.

Operands

wname
is the name of the window about which information is to be displayed.
=
indicates information about the topmost window is to be displayed. Only a window defined with the TOP option can qualify as the topmost window.
*
indicates information for all windows is to be displayed. This is the default.
ALL
displays the options for a window or all windows in addition to the size and location.

Responses

  1. For
    Read syntax diagramSkip visual syntax diagram QUERY WINDOW *wname=
    One line is displayed for each window.
    WINDOW  wname   lines   cols   psline   pscol
    Where:
    wname
    is the name of the window.
    lines
    is the number of lines in the window.
    cols
    is the number of columns in the window.
    psline
    is the line on the physical screen where the window is placed.
    pscol
    is the column on the physical screen where the window is placed.
  2. For
    Read syntax diagramSkip visual syntax diagram QUERY WINDOW *wname= ALL
    WINDOW wname  lines  cols  psline  pscol (type
    border  pop  top  system
    Where:
    type
    is VARIABLE if the window is a variable size or FIXED if the window is a fixed size.
    border
    is BORDER if the border is set ON, or NOBORDER if the borders are OFF.
    pop
    indicates whether the window is displayed on top of all other windows (POP) or there is no effect on the window's position in the ordered list of windows (NOPOP) when the virtual screen the window is showing is updated.
    top
    indicates whether the window may qualify as the topmost window (TOP) or cannot qualify as the topmost window (NOTOP)
    system
    indicates whether the window is retained (SYSTEM) or deleted (USER) when a task abnormally ends (abend) or when the HX (halt execution) command is issued.
    Note: When using the ALL operand, the response may be too long for one line. If so, it wraps to the next one.

Options

For more information on the Options, Usage Notes, and Error Messages that apply to all operands of the QUERY command, see QUERY.