Previous Topic: Issue the OPSCMD from CLISTs

Next Topic: Use OPSCMD with z/OS REPLY Command

Use OPSCMD Subcommand Mode

The CA OPS/MVS OPSCMD subcommand mode provides an easy way to enter several operating system commands.

To enter OPSCMD subcommand mode

  1. Issue the OPSCMD command without supplying a system command or any keywords as follows:
    OPSCMD 
    

    In response, you see prompts of OC, which indicate that the system is ready.

  2. You can either enter system commands or enter the END command to exit OPSCMD subcommand mode.

    You can enter one or more system commands after each prompt. If you enter system commands, they execute and you receive their output. Entering END terminates OPSCMD subcommand mode.

You can also enter OPSCMD subcommand mode by issuing the OPSCMD command with operands, if you omit the COMMAND keyword. For example, all of the following commands start OPSCMD subcommand mode. The last two commands invoke OPSCMD subcommand mode because they specify no command text.

OPSCMD
OC
OPSCMD NOO
OC WAIT(15)

Example: Use OPSCMD Subcommand Mode

The following illustration shows you sample interaction between the CA OPS/MVS product and a user in OPSCMD subcommand mode. Items shown in bold are what appear on the screen; the other text describes what each item is.

 READY                 - READY prompt from TSO
OC                     - You enter OC to invoke OPSCMD subcommand mode
 OC                    - Prompt from OPSCMD
D R,L                  - z/OS command you enter
 (output from D R,L command...)
 OC                    - Prompt from OPSCMD
#CP Q N                - VM command you enter
 (output from Q N command...)
 OC                    - Prompt from OPSCMD
*I B                   - JES3 command you enter
 (output from *I B command...)
 OC                    - Prompt from OPSCMD
(blank line you enter)
 OC                    - Prompt from OPSCMD
END                    - You enter END to cancel OPSCMD subcommand mode
 READY                 - READY prompt from TSO