Determining positional parameters


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

To determine positional parameters

  1. Display the view’s online Help by placing the cursor on the view name and pressing PF1.In the following example, the view name is PSOVER.

    >H1 =PSOVER============SJSC=====*========DDMMMYYYY==HH:MM:SS====MVUSS====D===64
    C  ProcessId Command  Elapsed  Jobname  Stepname Multi- Total Total Total Total
    - ---------- Name     ProcTime -------- -------- Thread  Dly%  Run% Zomb% Othr%
               1 BPX +----------------------------------------------------+ 0  0.00
               6 ine | Help        Interval Process Activity         Help | 0  100
               7 EZA | Command ==>                        Scroll ==> CSR  | 0  0.00
               8 EZA | -------------------------------------------------- | 0  0.00
               9 EZB |                                                    | 0  0.00
              11 FTP | PSOVER is a tabular view that allows you to        | 0  0.00
              12 BBM | analyze the performance and utilization of         | 0  100
        16777218 BBM | resources for selected processes. Use PSOVER to    | 0  0.00
        16777219 EZB | monitor process activity during an interval.       | 0  0.00
        16777231 OMV |                                                    | 0  0.00
        33554436 EZB | For more information on this view, place the       | 0  0.00
        33554437 EZB | cursor on one of the following topics and press    | 0  0.00
        33554445 BBM | ENTER.                                             | 0  0.00
                     |                                                    |
                     |   o Actions available from this view               |
                     |                                                    |
                     |   o Elements in this view                          |
                     |                                                    |
                     |   o Positional parameters                          |
                     |                                                    |
                     |   o Keyword parameters                             |
                     |                                                    |
                     |   o Forms that are valid for this view             |
                     |                                                    |
                     |   o Sort information                               |
                     |                                                    |
                     | PSOVER is a TABULAR SUMMARY view.                  |
                     +----------------------------------------------------+
  2. Place the cursor on the Positional parameters field and press Enter.The positional parameters are displayed.

    >H1 =PSOVER============SJSC=====*========DDMMMYYYY==HH:MM:SS====MVUSS====D===64
    C  ProcessId Command  Elapsed  Jobname  Stepname Multi- Total Total Total Total
    - ---------- Name     ProcTime -------- -------- Thread  Dly%  Run% Zomb% Othr%
               1 BPX +----------------------------------------------------+ 0  0.00
               6 ine | Help        Interval Process Activity         Help | 0  100
               7 EZA | +----------------------------------------------------+  0.00
               8 EZA | | Help          Positional Parameters           Help |  0.00
               9 EZA | | Command ==>                        Scroll ==> CSR  |  0.00
              11 FTP | | -------------------------------------------------- |  0.00
              12 BBM | | The positional parameters for this view are:       |  100
        16777218 BBM | |                                                    |  0.00
        16777219 EZB | |   Filter Condition:             Column Header:     |  0.00
        16777231 OMV | |                                                    |  0.00
        33554436 EZB | |   E = *                         Command / Name     |  0.00
        33554437 EZB | |                                                    |  0.00
        33554445 BBM | |   G = *                         Jobname            |  0.00
                     | |                                                    |
                     | | For more information on using positional           |  
                     | | parameters, see the positional parameters topic.   |
                     +-|                                                    |  
                       +----------------------------------------------------+

    This figure shows that the positional parameters are Command / Name and Jobname. You can use this information to modify your views and show only specific data.

  3. To return to the main window, press PF3 twice.
  4. On the COMMAND line, type PARm * DC*.This command changes the view to show only the requested information without refreshing the data. The following figure shows only those processes whose job names start with DC.

    >W1 =PSOVER============SJSE=====*========DDMMMYYYY==HH:MM:SS3====MVUSS====D====9
    C  ProcessId Command  Elapsed  Jobname  Stepname Multi- Total Total Total Total
    - ---------- Name     ProcTime -------- -------- Thread  Dly%  Run% Zomb% Othr%
               7 EZACFALG 09:30:33 DC$TCPIP DC$TCPIP No      100   0.00  0.00  0.00
               8 EZASASUB 09:30:33 DC$TCPIP DC$TCPIP No      100   0.00  0.00  0.00
               9 EZBTTMST 09:30:29 DC$TCPIP DC$TCPIP No      0.00  100   0.00  0.00
              12 BBM9SZ20 09:30:18 DC$PAS   PAS      Yes     0.00  100   0.00  0.00
        16777218 BBM9SZ20 09:30:48 DC$CAS   CAS      No      0.00  100   0.00  0.00
        16777219 EZBTCPIP 09:30:42 DC$TCPIP DC$TCPIP Yes     0.00  100   0.00  0.00
        33554436 EZBTMCTL 09:30:33 DC$TCPIP DC$TCPIP No      0.00  100   0.00  0.00
        33554437 EZBTTSSL 09:30:34 DC$TCPIP DC$TCPIP No      0.00  100   0.00  0.00

    Even though Jobname is the fifth column, it is the second parameter.

    When you specify a value for any view parameter other than the first parameter, all preceding parameters must be accounted for by the asterisk (*) wildcard character.

    In this example, you filtered the view by the Jobname parameter, so you placed an asterisk in the command to account for the Command Name parameter. This wildcard does not affect the output but serves as a placeholder so that you can use the positional parameters correctly.


 

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

BMC AMI Ops Monitor for UNIX System Services 6.3