Issuing commands that are longer than the Command line


In MainView, you can issue different types of commands from panels within a BBI2 terminal session. However, the Command line restricts command length to about 47 characters. Many IBM MQ commands and some IMS commands exceed that limit. Use the Command Execution application to enter longer commands.

To enter long commands via Command Execution

  1. On the Command line of the Command Execution application, type the characters associated with the command type (Table 1) followed by a blank, and press Enter.

    Table 1. Command characters, type, and length for the Command Execution panel

    Command character

    Command type

    Maximum command length

    #

    MVS command

    132

    +

    CICS transaction

    87 (includes transaction name, 80-byte parameter list, and quotation marks)

    @

    IBM MQ command

    236

    /

    IMS DB/DC or DBCTL command

    132

    !

    IMS transaction

    132

    $

    IMS message

    132

    /@

    IMS generic command

    132

    //

    IMSPlex command

    132

    .

    BBI command

    132

    ?

    SYSPROG Services command

    254

    -

    DB2 command

    254

    *

    Journal message

    132

    The Command Execution panel is displayed. The top line shows the maximum command length allowed, based on the type of command you are entering.

    Example

    If you entered # followed by a space on the Command line, this panel lets you enter an MVS command up to 132 characters long (Figure 1).

    Figure 1. Command Execution panel

    BMC Software --------------- Command Execution --------------- General Services
    COMMAND ===>                                                 TGT ===> JBAO     
                                                                                  
             Enter a command type and a command of up to 132 characters.           
                                                                                  
     Type    ===> #                                                                
     Command ===>                                                                  
                                                                                  
     After entering the command, either...                                         
                                                                                  
        o Press Enter to execute the command                                       
        o Press PF3 or END to exit without executing the command                   
                                                                                  
     Note: Do not include the command character in the command field!              
                                                                                  
     PF1 will display help and a list of supported commands
  2. You can perform the following actions on this panel:

    • In the Command field, enter the command that you want to issue.

      Tip

      The Type field shows the command type that you selected on the previous panel. If you change your mind and want to enter a different command type, enter the corresponding command character in the Type field and press Enter to refresh the panel.

    • In the TGT field, enter a target name to execute the command on a different BBI-SS PAS.
    • If you want to view command results, enter LOG on the Command line.

      When you enter commands that return a response (such as certain MVS or IMS commands), those responses are returned to the local log and will not appear in the BBI Journal.

    When you type other application names on the Command line and return to this panel, the command you last used will appear on the panel.

    Figure 1 describes the command characters, the command type and the allowed length for the command that you can enter on the Command Execution panel.

 

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