The Run Command (RUNCMD) and Run Commands (RUNCMDS) commands provide a convenient way to run a single command or multiple commands on a remote system. The RUNCMD and RUNCMDS commands replace and extend the capabilities available in the IBM commands, Submit Remote Command (SBTRMTCMD) and Run Remote Command (RUNRMTCMD).
The MIMIX commands provide a protocol-independent way of running commands using MIMIX constructs such as system definitions, data group definitions, and transfer definitions. The MIMIX commands enable you to run commands and receive messages from the remote system.
In addition, the RUNCMD and RUNCMDS commands use the current data group direction to determine where the command is to be run. This capability simplifies automation by eliminating the need to manually enter source and target information at the time a command is run.