Switching contexts


This section shows how to look at the same view from two different CICS regions simultaneously to compare workload performance. It is a continuation of the previous section. You should start your work with the final two views displayed.

Although this topic uses regions CICSP01 and CICSP02 as examples, you can use your site's CICS region names. Also, your site has unique contexts. Substitute the name of a context at your site in any step that requires you to enter a context name.

  1. Redisplay the PLEX view in window 1 by entering w1;con * plexmgr;plex.
  2. Display CSERV in window 2 by entering w2;cserv.

    The following figure shows that the CSERV view has replaced the EZCICS view in window 2.

     18DEC2000 07:02:47 ----------- INFORMATION DISPLAY ---------------------------
    COMMAND ===>                                              SCROLL ===> PAGE
    CURR WIN ===> 2        ALT WIN ===>
    >W1 -PLEX--------------SJSD-----*--------18DEC2000--07:02:27----PLEXMGR-------8
    C Product  Context  System   Description Status
    - -------- -------- -------- ---------------------------------------- -------
     MVCICS   CICS4103 CSVT     added by vt on 10/20/00                  Defined
     MVCICS   CICS4102 CSVT     added by vt on 10/20/00                  Defined
     MVCICS   CICVT411 SJSD     BMC AMI Ops Monitor for CICS             Active
     MVCICS   CICS4102 SJSD     BMC AMI Ops Monitor for CICS             Active
     MVVP     CICVT411 SJSD     MainView VistaPoint                      Active
     MVVP     IMS51X   SJSD     MainView VistaPoint                      Active
     MVVP     CICS4102 SJSD     MainView VistaPoint                      Active
     PLEXMGR  SJSD     SJSD     Target Manager                           Active
    W2 =CSERV=============CICVT411=*========18DEC2000==07:02:47====MVCICS=======46
    CMD Serv  Parm            % Warning      Curr      Warn     Area Target
    --- ----- --------        0.....50...100 Value---  Value--- ---- --------
      DSUT   ECDSA    92.2                     83.00     90.00 STOR CICVT411
      DSUT   CDSA     67.8                     61.00     90.00 STOR CICVT411
      CSUT            57.6                     49.00     85.00 STOR CICVT411
      ECSUT           29.4                     25.00     85.00 STOR CICVT411
      MXTC             6.2                      5.00     80.00 TASK CICVT411
      MXTC   CREGION   5.0                      5.00    100.00 TASK CICVT411
       @RSTM  PAYROLL   2.0                      0.02      1.00 WKLD CICVT411
       @RSTM  VWC1DFIC  2.0                      0.02      1.00 WKLD CICVT411
       @RSTM  ALL       2.0                      0.02      1.00 WKLD CICVT411
       @RSTM  PAY1      2.0                      0.02      1.00 WKLD CICVT411
       @RESP            1.0                      0.02      2.00 WKLD CICVT411
       @RESP  CREGION   1.0                      0.02      2.00 WKLD CICVT411
       #PROC            0.2                      0.02     10.00 WKLD CICVT411
       @TSKD  DEMOT06                            0.00  50000.00 TASK CICVT411
       @TSKC  DEMOT04                            0.00     30.00 TASK CICVT411
       @PICT                                     0.00      5.00 TASK CICVT411

    You want to display CSERV on two different systems. However, window 1 still displays the Plex Manager PLEX view. This means you have to change both the product and the system.
    The SET command provides a dialog to complete multiple operations from a single screen.

  3. Make window 1 current by entering w1. 
    The CURR WIN field should show a 1, indicating that window 1 is now the active window.
  4. Type set on the COMMAND line.
    Your screen should display the SET dialog shown with the values taken from window 1 as the defaults for the given fields. The default values shown in the fields of the SET dialog are taken from Plex Manager because its PLEX view was displayed from the active window when the SET command was issued.

    ------------- SET WINDOW CONTEXT, PRODUCT, SERVER, SCOPE AND VIEW ---------
    COMMAND  ===>

    Window Parameters:

    Context   ===> SJSD
    Product   ===> PLEXMGR
    Server    ===> *
    Scope     ===> *
    View      ===> PLEX

    Type END to set window parameters
          CANcel to quit without setting

    F1=HELP   F2=SPLIT   F3=END   F4=RETURN   F5=RFIND   F6=RCHANGE
    F7=UP     F8=DOWN    F9=SWAP  F10=LEFT    F11=RIGHT

    You need to change the values shown in the SET panel to those belonging to the product and system ID whose views you want to display in Window 1.

  5. Finish the SET dialog with values similar to those.

     ----------------- SET WINDOW CONTEXT, PRODUCT,SCOPE AND VIEW ------------------
    COMMAND ===>                                                SCROLL ===> PAGE

    Please confirm default parameters:

    Context   ===> CICS4102
    Product   ===> MVCICS
    Server    ===> *
    Scope     ===> *
    View      ===> CSERV

    Type End to set window parameters
         CANcel to quit without setting

    Before you press your END key, take a look at what you specified on the SET dialog panel.

    • The Context field is the name of the target whose performance is monitored by the product you want to access.
    • The Product field specifies the product identifier (MVCICS in this example) of the product whose views you want to display. The product identifiers for BBI-3 products are:

      Product

      Identifier

      BMC AMI Ops Monitor for CMF Online

      CMF

      BMC AMI Ops Monitor for z/OS

      MVMVS

      PLEX MANAGER                                                                               

      PLEXMGR

      MainView VistaPoint                                                                         

      MVVP

      BMC AMI Ops Monitor for CICS

      MVCICS

      BMC AMI Ops Monitor for Db2

      MVDB2

      BMC AMI Ops Monitor for IMS

      MVIMS

       Alarm Manager     

      MVEMGR

    • The Server field identifies the PAS to which the product is attached. Although it is not common, you must enter the PAS name in the Server field when you have more than one PAS active in an MVS image for the same BMC AMI Ops product.
    • The Scope field narrows the context to a particular system within an SSI context. If you're not using SSI contexts, this field is represented by an asterisk (*). If the scope is the same as the context, an asterisk appears in the Scope field to indicate that the current context and the scope are the same. You will learn more about SSI contexts in step 5c.
    • The View field provides the name of the initial view that you want to display after setting the new values for the active window. 

  6. Press your END key to set the values you entered in the Set panel.
    Your screen should show two CSERV views from two different targets.

    18DEC2000 07:19:41 ----------- INFORMATION DISPLAY ---------------------------
    COMMAND ===>                                               SCROLL ===> PAGE
    CURR WIN ===> 1        ALT WIN ===>
     
    W1 =CSERV=============CICS4102=*========18DEC2000==07:19:41====MVCICS=======34
    CMD Serv  Parm            % Warning   Curr     Warn     Area Target
    --- ----- --------     0.....50...100 Value--- Value--- ---- --------
        @PRB1                                 0.00          GENL CICS4102
        
    @PRB2                                 0.00          GENL CICS4102
        
    @PRB3                                 0.00          GENL CICS4102
        
    @PRB4                                 0.00          GENL CICS4102
        
    @SVCT                                 0.00     1.00 STOR CICS4102
        
    @PICT                                 0.00     5.00 TASK CICS4102
        
    DSUT  UDSA                            0.00    80.00 STOR CICS4102
        
    DSUT  EUDSA                           0.00    80.00 STOR CICS4102
     
    W2 -CSERV-------------CICVT411-*--------18DEC2000--07:02:47----MVCICS-------46
    CMD Serv  Parm             % Warning   Curr     Warn     Area Target
    --- ----- --------      0.....50...100 Value--- Value--- ---- --------
        DSUT  ECDSA    92.2                   83.00    90.00 STOR CICVT411
        
    DSUT  CDSA     67.8                   61.00    90.00 STOR CICVT411
        
    CSUT           57.6                   49.00    85.00 STOR CICVT411
        
    ECSUT          29.4                   25.00    85.00 STOR CICVT411
        
    MXTC            6.2                    5.00    80.00 TASK CICVT411
        
    MXTC  CREGION   5.0                    5.00   100.00 TASK CICVT411
        
    @RSTM PAYROLL   2.0                    0.02     1.00 WKLD CICVT411
        
    @RSTM VWC1DFIC  2.0                    0.02     1.00 WKLD CICVT411
        
    @RSTM ALL       2.0                    0.02     1.00 WKLD CICVT411
        
    @RSTM PAY1      2.0                    0.02     1.00 WKLD CICVT411
        
    @RESP           1.0                    0.02     2.00 WKLD CICVT411
        
    @RESP CREGION   1.0                    0.02     2.00 WKLD CICVT411
        
    #PROC           0.2                    0.02    10.00 WKLD CICVT411
        
    @TSKD DEMOT06                          0.00 50000.00 TASK CICVT411
        
    @TSKC DEMOT04                          0.00    30.00 TASK CICVT411
        
    @PICT                                  0.00     5.00 TASK CICVT411

    Notice the window information lines in windows 1 and 2 show separate targets for the CSERV views.

    Displaying simultaneous CSERV views across two target regions gives you the capability to display overall CICS monitor performance from a single screen. It is much easier to compare regions on a single screen, rather than switching back and forth between multiple sessions.

    Using the CONtext command is the easiest way to shift between BMC AMI Ops contexts, products, and views. If you prefer the CONtext command instead of the SET dialog, typing.

    W1;CON CICS4102 MVCICS;CSERV

    achieves the same view as changing the values of the SET dialog panel described in this section.

    Success

    Tip

    BMC AMI Ops follows ISPF command conventions. You can issue multiple commands by placing a semicolon (;) delimiter between commands.

    The SET dialog has predefined fields to fill in, making simultaneous transfers between products, systems, and views easier if you are unsure of how to set those parameters with the CONtext command.

  7. Shift to another context and display the VistaPoint APOVER view in window 1 by entering w1;con cicvt411 mvvp;apover. This example uses the cicvt411 context, but you can use any name of a context defined at your site. You should see the APOVER view appear in window 1. Notice you shifted products, views, and context with a single CONtext command.

    Success

    Tip

    The CONtext command is the fastest way to switch between contexts, products, and views. The syntax of the command is:

    CONtext target_name product_identifier,view_name

    where:

    target_name

    *                      Specifies the default system name to which Plex Manager is attached.

    =                     Accepts the current context set for the active window.

    SSI name       Specifies the name of a single system image context listed on the CONACT view.

    Target name   Specifies the context name identified for each product listed on the PLEX view.


    product_identifier

    CMF              BMC AMI Ops Monitor for CMF Online

    MVCICS         BMC AMI Ops Monitor for CICS

    MVDB2          BMC AMI Ops Monitor for Db2

    MVEMGR       Alarm Manager

    MVIMS          BMC AMI Ops Monitor for IMS

    MVMVS         BMC AMI Ops Monitor for z/OS

    MVVP            MainView VistaPoint

    PLEXMGR      PLEX MANAGER


    view_name

    Name of a view associated with the product identified in the Product name parameter

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

MainView VistaPoint 1.1