repcli

Use this utility to start the administrative command-line interface (CLI), or the repcli session, which is used to run commands in interactive mode. This utility can also run a single command or a set of commands from a script without starting a repcli session.

Syntax

Read syntax diagramSkip visual syntax diagram>>-repcli-- --+-------+-- --+--------------+-- ----------------->
              +--?----+     '-command_name-'
              +--h----+
              '--help-'

>--+-------------------+---------------------------------------><
   +--ver--------------+
   +--overview---------+
   +--script file_name-+
   '-command_string----'

Parameters

-? | -h | -help command_name
Displays help for the specified command (for example, -h mktgtpool displays help for the mktgtpool command). If a command name is not specified, this parameter displays a list of available commands in the administrative CLI.
Note:Note: Although the repcli utility is listed as a command in the help facility, you receive an error if you attempt to run the utility from within repcli (for example, repcli> repcli help). For help for the utility, enter -help repcli .
-ver
Displays the current version and licensing information for this utility.
-overview
Displays the overview information about the repcli utility, including command modes, standard command and listing parameters, syntax diagram conventions, and user assistance.
-script file_name
Runs the set of command strings in the specified file outside of a repcli session. You must specify a file name.

The format options specified using the setoutput command apply to all commands in the script. Output from successful commands routes to stdout.

Output from unsuccessful commands route to stderr. If an error occurs while one of the commands in the script is running, the script exits at the point of failure and return to the system prompt.

command_string
Runs the specified command string outside of a repcli session.

Description

You can use the repcli utility to start the administrative command-line interface (CLI), or repcli session, which is used to run commands in interactive mode. This utility can also run a single command or a set of commands from a script without starting a repcli session.

If you run this utility with any of the valid parameters, the administrative CLI is not started in interactive mode. If you run this utility with no parameters, this utility starts the administrative CLI. When you are in the administrative CLI, the repcli> prompt is displayed.

Related topics

(C) Copyright International Business Machines Corporation 2004