Using commands


As an alternative to using hyperlinks or menus, you can

  • display a view by entering the view name on the COMMAND line
  • issue a MainView window interface command by entering the command on the COMMAND line

Note

MainView window interface commands are available to all products by using the MainView window interface.

Displaying multiple views simultaneously

To enter multiple views and parameters at one time, use the ISPF delimiter (usually a semicolon) as shown in the next example.

After you ensure that two windows (W1 and W2) are open, enter the CDEV and LCUSTAT commands with these parameters:

W1.CDEV * * * 3380; W2.LCUSTAT

The CDEV view for all 3380 devices is displayed in window 1, and the LCUSTAT view for all LCUs appears in window 2, as shown in the following figure:

DDMMMYYYY  HH:MM:SS ------ MainView WINDOW INTERFACE (Vv.r.mm) ----------------
COMMAND  ===>                                                 SCROLL ===> PAGE
CURR WIN ===> 2        ALT WIN ===>
 W1 -CDEV--------------SYSB-----*--------DDMMMYYYY--HH:MM:SS----CMF---------110
C Volser CP  Dev   LCU Type      Response T  I/O %Dly IOSQ  Con  Dsc  Pnd %Dev %
- ------ --  Num   --- ----      0...50.100 /Sec ---- Time Time Time Time Util
  SANWK1 1B  00B14 043 3380 36.8 ****        1.8           14.5 21.8  0.5  6.6
  SANWK1 1B  00B21 044 3380 28.0 ***         1.5            7.1 20.5  0.4  4.1
  SPLF3E 1B  00B17 043 3380 26.0 ***         1.5            7.1 18.5  0.4  3.9
  SPLF3E 1B  00B20 044 3380 25.9 **          0.0            1.9 16.7  7.4  0.0
  APD282 1B  00B10 043 3380 25.8 **          1.6  0.1       6.7 18.7  0.4  3.9
  APD282 1B  00B22 044 3380 25.3 **          0.0            2.1 16.6  6.6  0.0
 W2 =LCUSTAT===========SYSB=====*========DDMMMYYYY==HH:MM:SS====CMF==========58
C LCU Onl CP Activ      Service Time      IOSQ   %DP   %CU  %All  Cont   Ave CU
- Num Dev --  Rate      0......25.....50  Time  Busy  Busy CPBsy  Rate  Qlen
  03B   1  2   0.2 1176 ***************+ 222.6 10.06 10.69  4.48  0.03  0.12
  032   4  1   1.0 135. ***************+                    0.56  0.00  0.00
  044   4  2   2.7 21.9 ******                              1.26
  043   8  2  17.9 21.6 ******             0.3              1.26
  02E  22  4  89.7  6.2 *                  0.1  0.98  0.06  1.12  0.02  0.00
  084   7  2  14.5  5.8 *                  0.1        1.23  0.42  0.01  0.00
  029  52  4  88.9  5.6 *                  0.0  1.06  1.71  1.12  0.00  0.00
  024  17  2  70.4  2.6                    0.0              0.28
  020   1  1
  022      1

View parameters allow you to filter the data that is displayed in a view so that only those values that meet the selection criteria appear. The command W1.CDEV * * * 3380 placed a filter on the Dev Num column, so that only 3380 type devices were displayed.

The next section explains in greater detail how to use view parameters.

Using view parameters

There are two ways to specify view parameters: positionally or by keyword.

The following examples illustrate each method.

Using positional parameters

When you use positional parameters, you supply values for the parameters in a predetermined order.

To find out the parameters and their order for a given view, display the view’s online Help, place the cursor on the highlighted term positional parameters, and press Enter.

For example, suppose you want to use the JFLOW view to display only those jobs that are experiencing a delay greater than 5 percent.

The first thing you do is display the online Help for JFLOW, and then hyperlink to the POSITIONAL topic. This topic tells you that the parameters for the JFLOW view are Jobname, Delay %, and Status. That is, the Jobname column is in the first parameter position, the Delay % column is in the second position, and the Status column is in the third.

Note

Because the Delay % field is a graph, the title is not displayed in the online Help.

You want to display all jobs with a delay greater than 5 percent, so you issue the following command to produce the display shown in the following figure

JFLOW * 5

DDMMMYYYY  HH:MM:SS ------ MainView WINDOW INTERFACE (Vv.r.mm) ----------------
COMMAND  ===>                                                 SCROLL ===> PAGE
CURR WIN ===> 1        ALT WIN ===>
 W1 =JFLOW=============SYSB=====*========DDMMMYYYY==HH:MM:SS====CMF===========7
C Jobname  JES Job  T SrvClass       Workflow %           Delay %        Main R
- -------- Number   - --------       0.....50...100       0.....50...100 ------
  DMSAR    STC07654 S STCNRM     3.7 *               16.6 **             Reserv
  ABK1B23  JOB07028 B BATNRM    85.1 ************    14.8 **             Wait f
  VAM3     TSU07509 T TSONRM    81.5 ***********     10.0 *              Wait f
  DMSOV    STC06678 S STCNRM     5.1 *                8.8 *              Reserv
  RYS1SOLB STC06192 S STCNRM    42.2 ******           6.2 *              Wait f
  JES2     STC07330 S STCNRM    48.3 *******          5.4 *              Reserv
  FLN1     JOB08921 T TSONRM    81.5 ***********      5.4 *              Wait f

Even though Delay % is the seventh column, it was defined as the second parameter. Thus, a 5 was entered in the second position after JFLOW (JFLOW * 5).

When you specify a value for any view parameter other than the first, all preceding parameters must be accounted for by the * (asterisk) wildcard character. For this reason, a wildcard character, *, appeared in the first position. This wildcard character does not affect the view output but serves merely as a placeholder so that you can use the view’s positional parameters correctly.

Note

If a column is not defined as a parameter by default, you can make the column a parameter by typing CUST on the COMMAND line, and then choosing L (Filter). For more information, type HELP CUSTOM on the COMMAND line and select the Filter topic.

Using keyword parameters

Instead of using JFLOW’s positional parameters, you could have used the Delay % column’s keyword (or element name ) to achieve the same result.

An element name is simply the name by which CMF MONITOR Online refers to a column internally.

When you check the view Help for JFLOW, you can see all of the element names by hyperlinking on the ELEMENTS hyperlink. This hyperlink shows that the element name for Delay % is ASIDLYP. Therefore, instead of issuing the JFLOW * 5 command, you could have issued this command to display the same data:

JFLOW ASIDLYP(5)

Using the PARm command

If a view is already displayed, you can use the PARm command in place of the view name to supply new parameters.

Because the PARm command simply places a filter on the existing data, rather than invoking the data collectors to gather new data, PARm is much faster than using the view names.

PARm works for both positional and keyword parameters. That is, assuming that JFLOW is displayed as shown in JFLOW output, this command redisplays JFLOW, listing only those jobs delayed greater than 7% of the interval:

PARm * 7

Alternatively, this command achieves the same result:

PARm ASIDLYP(7)



 

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