Creating a window
By default, the
MainView
terminal session starts with a single window. You can create multiple windows, horizontally and vertically. This capability enables you to monitor and manage several systems from a single point of control and see varying levels of detail from a single display.
You can open a maximum of 20 windows simultaneously in each ISPF session.
To split a window horizontally or vertically
- Indicate how you want to split the screen:
- For a horizontal split, type HS on the COMMAND line.
- For a vertical split, type VS.
- Place the cursor where you want the new window to begin and press Enter.The command splits the display at the cursor position and creates another window.
To open a hyperlink in a new window
Create a new window by splitting the display either horizontally or vertically.
The number of the active window is shown in the CURR WIN field in the window control area at the top of the display. The new window is empty and has a window status of T in its window information line, which means the window is available to receive view or window commands.The variable n specifies the number of the window that you want to be the active window. The value of n can be from 1 through 20. For more information about this command, type HELP Wn on the COMMAND line.
- In the ALT WIN field, type the number of the new window in which to open the hyperlink.
Place your cursor on a highlighted element in the window that you want to hyperlink from, and press Enter.The hyperlink is shown in the new window.
Example of creating a window in Plex Manager
Enter the following CONTEXT command to access the Plex Manager product and the PLEX view:
CON * PLEXMGR;PLEXPLEX is the Plex Manager view that lists all active MainView products, their targets, and their target status.
The PLEX view is displayed:
ddmmmyyyy hh:mm:ss -------- MAINVIEW WINDOW INTERFACE (Vv.r.mm) ------------
COMMAND ===> SCROLL ===> CSR
CURR WIN ===> 1 ALT WIN ===>
>W1 =PLEX============SYSB=====*========ddmmmyyyy==hh:mm:ss====PLEXMGR==D===17
C Product Context System Description Status
- -------- -------- -------- ---------------------------------------- -------
MVDB2 DB2L SYSB PRODUCTION DB2 Active
MVIMS IMSCTL SYSA IMS Active
MVIMS IMSM SYSA IMS Active
MVMVS SYSB SYSB MAINVIEW for z/OS Active
MVMVS SYSC SYSC MAINVIEW for z/OS InActive
MVMVS SYSA SYSA MAINVIEW for z/OS Active
MVVP SSICICS SYSA SPECIALIZED SOFTWARE V Active
MVVP PUBCICS SYSA BBCS PUBLIC CICS Active
MVVP GUPCIC4 SYSA GUPTA CICS V4.10 Active
MVVP GUPCICS SYSA GUPTA CICS V5.10 Active
MVVP TERXCICS SYSA TENERA Active
MVVP SYSB SYSB MAINVIEW VistaPoint Active- On the COMMAND line, type HS, move the cursor down the screen to a position where you want the top of the second window to appear, and press Enter.The second window that you created should be displayed as the active window in the CURR WIN field.
- In the ALT WIN field, type 2, but do not press Enter.This action sets the second window that you just created as a destination for a hyperlink from the first window.
In the first window, place the cursor on a product in the list and press Enter.For example, if selecting MVDB2 from the first window (W1) displays that product's main menu n the second window (W2).
ddmmmyyyy hh:mm:ss --------- MAINVIEW WINDOW INTERFACE (Vv.r.mm) ------------
COMMAND ===> SCROLL ===> CSR
CURR WIN ===> 2 ALT WIN ===>
>W1-PLEX------------SYSB------*--------ddmmmyyyy--hh:mm:ss----PLEXMGR--D----17
C Product Context System Description Status
- -------- -------- -------- ---------------------------------------- -------
MVDB2 DB2L SYSB PRODUCTION DB2 Active
MVIMS IMSCTL SYSA IMS Active
MVIMS IMSM SYSA IMS Active
MVMVS SYSB SYSB MAINVIEW for z/OS Active
MVMVS SYSC SYSC MAINVIEW for z/OS InActive
MVMVS SYSA SYSA MAINVIEW for z/OS Active
W2 =MAIN============DB2L======*========ddmmmyyyy==hh:mm:ss====MVDB2==D=====18
CMD View Name Description
--- ---------- ------------------------------
ADMIN Administrative Views
DMON Monitors by Target - Interval
DMONC Monitors by Target - Cluster
DMONR Monitors by Target - Realtime
DMONS Monitors by Target - Session
DOBJ Objectives Review - Interval
DOBJR Objectives Review - RealtimeOn the COMMAND line, type VS, move your cursor in the second window to a place where you want to split the window in half vertically, and press Enter.The third window that you created should be displayed as the active window in the CURR WIN field.
- In the ALT WIN field, type 3, which makes window 3 the destination for a hyperlink from any window.
Select another active product from the first window to hyperlink to that product's main window in window 3, as shown in the following example:
ddmmmyyyy hh:mm:ss --------- MAINVIEW WINDOW INTERFACE (Vv.r.mm) ------------
COMMAND ===> SCROLL ===> CSR
CURR WIN ===> 1 ALT WIN ===> 3
>W1 -PLEX-------------SYSB-----*--------ddmmmyyyy--hh:mm:ss----PLEXMGR--D---17
C Product Context System Description Status
- -------- -------- -------- ---------------------------------------- -------
MVDB2 DB2L SYSB PRODUCTION DB2 Active
MVIMS IMSCTL SYSA IMS Active
MVIMS IMSM SYSA IMS Active
MVMVS SYSB SYSB MAINVIEW for z/OS Active
MVMVS SYSC SYSC MAINVIEW for z/OS InActive
MVMVS SYSA SYSA MAINVIEW for z/OS Active
>W2 -MAIN--------------DB2L-----*- >W3 =MAIN==============SYSB=====*=======ddm
CMD View Name Description | C View Name Description
--- ---------- ------------------- | - --------- ----------------------------
ADMIN Administrative View | ADMIN Administrative views
DMON Monitors by Target | CFMON Coupling Facility views
DMONC Monitors by Target | EZMENU Easy access menu
DMONR Monitors by Target | JOBACT Job activity views
DMONS Monitors by Target | SYSACT System activity views
DOBJ Objectives Review - | USER User-created views
DOBJR Objectives Review - | UTILITY System utilitiesThe main menu shown in window 3 is the result of a hyperlink from the active MVMVS product in window 1. You now have multiple windows open with a different product in each window. With multiple windows, you can track several targets from a single display. You can also use multiple windows to select views that contain hyperlinks, and progressively move to more detail in each window.
Related topic