Setting hyperlinks between views
In this section you will set a hyperlink from CMON to the view you created in the last exercise. If your site does not have BMC AMI Ops Monitor for CICS installed, use the equivalent IMON or DMON views for BMC AMI Ops Monitor for IMS or BMC AMI Ops Monitor for Db2, respectively.
Display CMON.
The following figure shows the CMON performance summary of the monitors that are active in each CICS region. The Number in Warn field is a graph showing the number of monitors that met or exceeded their warning threshold in the current interval for each CICS region:
18JAN2001 13:04:24 ----------- INFORMATION DISPLAY ---------------------------
COMMAND ===> SCROLL ===> CSR
CURR WIN ===> 1 ALT WIN ===>
W1 =CMON=============(ALL======*=======)18JAN2001==13:04:23====MVCICS========6
CMD Target Actv Number in Warn Avg % Warning Maximum
--- -------- Mntrs 0.....10....20 0.....50...100 % Warning
PUBCICS 5 0
PUBCIC3 17 0
PUBCIC4 75 1 10.5 105.6
PUBCIC5 73 3 11.7 106.7
PUBCIC52 74 1 10.3 104.4
PUBCIC53 72 1 11.2 103.3Tab the cursor to a CICS region listed in the Target column and press Enter. This shows the CSERV view, which is a default hyperlink destination from the CMON view. CSERV shows the performance of a CICS region's individual monitors that are summarized in the CMON view.
18JAN2001 13:05:37 ----------- INFORMATION DISPLAY ---------------------------
COMMAND ===> SCROLL ===> CSR
CURR WIN ===> 1 ALT WIN ===>
W1 =CMON=====CSERV===(ALL======*=======)18JAN2001==13:04:23====MVCICS=======73
CMD Serv Parm % Warning Curr Warn Area Target
--- ----- -------- 0.....50...100 Value--- Value--- ---- --------
DSUT ECDSA 106.7 + 96.00 90.00 STOR PUBCIC5
DSUT EDSA 106.7 + 96.00 90.00 STOR PUBCIC5
DSUT ERDSA 102.2 + 92.00 90.00 STOR PUBCIC5
DSUT CDSA 94.4 85.00 90.00 STOR PUBCIC5
DSUT RDSA 83.3 75.00 90.00 STOR PUBCIC5
CSUT 50.6 43.00 85.00 STOR PUBCIC5
DSUT SDSA 47.8 43.00 90.00 STOR PUBCIC5
ECSUT 31.8 27.00 85.00 STOR PUBCIC5
DSUT EUDSA 23.7 19.00 80.00 STOR PUBCIC5
MXTC 7.5 6.00 80.00 TASK PUBCIC5
MXTC CREGION 6.0 6.00 100.00 TASK PUBCIC5
DSUT UDSA 2.5 2.00 80.00 STOR PUBCIC5
@RSTM TESTWKLD 1.0 0.00 0.10 WKLD PUBCIC5
@RSTM BILLING 1.0 0.00 0.10 WKLD PUBCIC5
@RSTM CSCTEST2 0.5 0.00 0.20 WKLD PUBCIC5Press your END key to return to the CMON view.
The CSERV view shows every monitor that is active in a region. If you are diagnosing a performance problem in a region, it would be better if you could set a hyperlink from CMON to another view that shows only those monitors that are exceeding their thresholds. The view that you created in the last exercise does just that.Enter cust to enter view customization. This shows the View Customization screen with a working version of CMON displayed beneath the options listing. As in the example of the last section, the CMON columns are labeled with letters.
------------------------ VIEW CUSTOMIZATION - CMON ----------------------------
OPTION ===> SCROLL ===> CSR
Options: (that require column selection) Other options:
F - Format M - Move I - Include G - Graph S - Save view
O - Order R - Repeat X - Exclude P - Parameters E - Show excluded
L - Filter T - Threshold H - Hyperlink Z - Summarize K - Show template
-------------------------------------------------------------------------------
Some options ask you to select a target column. To do so, either type the
option with the column id on the OPTION line (as in: f e to format column E),
or type just the option, move the cursor to the target column and press ENTER.
Your changes are implemented every time you press ENTER. You can save the
modified view definition with any name you choose and specify where thresholds
-------------------------------------------------------------------------------
A D E F G H I
CMD Target Actv Number in Warn Avg % Warning Maximum
--- -------- Mntrs 0.....10....20 0.....50...100 % Warning
PUBCICS 5 0
PUBCIC3 17 0
PUBCIC4 75 1 10.5 105.6
PUBCIC5 73 3 11.7 106.7
PUBCIC52 74 1 10.3 104.4
PUBCIC53 72 1 11.2 103.3Column E lists the number of monitors in a region that are exceeding their warning thresholds. You want to set the hyperlink from this field to the new view.
Enter H E in the OPTION field and press Enter.
The following figure shows the view customization screen with a Hyperlink field to set the condition and command for your custom hyperlink:
------------------------ VIEW CUSTOMIZATION - CMON ----------------------------
OPTION ===> H SCROLL ===> CSR
Options: (that require column selection) Other options:
F - Format M - Move I - Include G - Graph S - Save view
O - Order R - Repeat X - Exclude P - Parameters E - Show excluded
L - Filter T - Threshold H - Hyperlink Z - Summarize K - Show template
--------------< Hyperlink - column: E element: MONIPWRN >-------------
Condition: Command: (with parameters)
________________ _____________________________________________________________
________________ _____________________________________________________________
________________ _____________________________________________________________
________________ _____________________________________________________________
________________ _____________________________________________________________
________________ _____________________________________________________________
________________ _____________________________________________________________
________________ _____________________________________________________________
-------------------------------------------------------------------------------
A D E F G H I
CMD Target Actv Number in Warn Avg % Warning Maximum
--- -------- Mntrs 0.....10....20 0.....50...100 % Warning
PUBCICS 5 0
PUBCIC3 17 0
PUBCIC4 75 1 10.5 105.6
PUBCIC5 73 3 11.7 106.7
PUBCIC52 74 1 10.3 104.4
PUBCIC53 72 1 11.2 103.3Hyperlinks consist of two parts: a condition and a command. The condition must be met before the associated command is issued. In this example we will specify the condition first.
The first thing that you must decide when specifying a condition is whether you want the hyperlink to work all of the time or only under certain conditions. In this case, you want the hyperlink to work all the time.- Type = * in the Condition field. The asterisk indicates the condition is always satisfied, regardless of the value in the column that shows the number of monitors exceeding their thresholds. You also could have specified a value here, for example > 5, so that the hyperlink would be valid only if more than 5 monitors are exceeding their warning thresholds.
You want to set a hyperlink from this column to the CSERV100 view. Tab to the COMMAND field, type the name of the view and press Enter.
------------------------ VIEW CUSTOMIZATION - CMON ----------------------------
OPTION ===> H SCROLL ===> CSR
Options: (that require column selection) Other options:
F - Format M - Move I - Include G - Graph S - Save view
O - Order R - Repeat X - Exclude P - Parameters E - Show excluded
L - Filter T - Threshold H - Hyperlink Z - Summarize K - Show template
--------------< Hyperlink - column: E element: MONIPWRN >-------------
Condition: Command: (with parameters)
= *_____________ CSERV100_____________________________________________________
________________ _____________________________________________________________
________________ _____________________________________________________________Press your END key.
You want to use the modified version of CMON that contains the hyperlink to CSERV100, so you do not need to change the name or description.- Leave Replace set to YES and press Enter.
- Press Enter again to return to the full CMON view. Now test the custom hyperlink to make sure it works.
Place the cursor on the # in Warn field and press Enter.
The following figure shows the custom view that is displayed if your hyperlink was successful:
18JAN2001 14:02:37 ----------- INFORMATION DISPLAY ---------------------------
COMMAND ===> SCROLL ===> CSR
CURR WIN ===> 1 ALT WIN ===>
W1 =CSERV100=========(ALL======*=======)18JAN2001==14:02:37====MVCICS========6
CMD Serv Parm % Warning Curr Warn Area Target
--- ----- -------- 0.....50...100 Value--- Value--- ---- --------
DSUT EDSA 106.7 + 96.00 90.00 STOR PUBCIC5
DSUT ECDSA 106.7 + 96.00 90.00 STOR PUBCIC5
DSUT ERDSA 105.6 + 95.00 90.00 STOR PUBCIC4
DSUT ERDSA 104.4 + 94.00 90.00 STOR PUBCIC52
DSUT ERDSA 103.3 + 93.00 90.00 STOR PUBCIC53
DSUT ERDSA 102.2 + 92.00 90.00 STOR PUBCIC5Did you notice a difference in the number of monitors listed in the CMON view and the number displayed with the custom view? Remember, the custom view displays only those monitors that are greater than 100% of their warning thresholds. Not every monitor in the CMON view appears because some are less than the 100% condition that you set for the new view.
Summary of Steps to Define a Hyperlink between Views
Set a hyperlink between views by performing the following steps:
- Display the view you want to be the starting point of a hyperlink.
- Start the view customization facility.
- Find the column identifier of the field that will be the trigger to start the hyperlink to another view.
- Type h x in the OPTION field, where x is the column identifier of the field that will be the hyperlink trigger.
- Set the condition for the hyperlink to occur in the Condition field shown in the Hyperlink area of the view customization facility
- On the COMMAND line, type the name of the view that is the destination of the hyperlink.
- Press your END key.
- Save your changes to the view.
Related topic