Overview of the repcli command MDM commands -ver -verMDM license and copyright information

The -overview option of the repcli displays information about command modes, lists command format requirements, and provides other command information..

Command modes

You can work with the Administrative CLI in one of three modes:

Single-shot mode
If you only want to run a single command, specify the CLI program and command to execute at the shell prompt, for example:
shell> repcli startsess -session_name session1  shell>
Interactive mode
If you want to run several commands, start the CLI program and commands to execute at the shell prompt, for example:
shell> repcli chsess session1 -desc "new description" -approve man>
startsess -session_name session1  shell>
Script mode
If you want to run a set of commands that you defined in a file, start the CLI program and specify a file that contains the commands, for example:
shell> repcli -script ~/bin/containersetup
shell>
Note:Note: The MDM CLIs support and interpret comments specified with a pound symbol (#) in the first column.
Command output

Format options specified using the setoutput command will apply to all commands in the file. Output from successful commands routes to stdout, and output from the failed command routes to stderr. If an error occurs during execution of one of the commands in the file, the script will exit at the point of failure and return to the system prompt.

Object naming guidelines

The requirements for valid user-defined object names are:

User-defined descriptions

The requirements for valid user-defined descriptions are:

Modifying Command Input

These commands modify command input:

Standard format parameters

The standard format parameters set the output format of the listing (ls) commands in the Administrative CLI. These parameters can be used either in the listing command syntax or in the setoutput command. The format settings remain in effect for the duration of the session or until you reset the parameters either by specifying these parameters in a listing command (those commands that start with ls) or using the setoutput command.

Standard listing parameters

The standard listing parameters specify whether to display the default, long, or short output for Administrative CLI listing commands. You can specify these parameters in addition to the standard parameters available for the listing commands. If you do not specify a listing parameter, the default listing displays all objects and the most vital column information, for example:

Name        User Role   Authorization 
=====================================
JohnDoe     Admin       Current 
MaryBlack   Backup      Not Current 
JimSmith    Operator    Current 
TomJones    Monitor     Not Current 
Syntax diagram conventions

To read syntax diagrams, follow the path of the line. Read from left to right, and top to bottom.

Syntax diagrams use position to indicate required, optional, and default values for keywords, variables, and operands:

Confirmation Prompts

When commands may lead to an irrecoverable operation, loss of data, memory drain, long-running task, or impact to concurrent operations, users receive an interactive confirmation prompt that asks if they are sure they want to continue with the specific action, such as, "Are you sure you want to xxx? Y/N." All confirmation prompts accept the following input: YES, yes, Y, y, or NO, no, N, n.

User assistance for commands

You can get user assistance for the commands that are available in the Administrative CLI using the help command or the command-help parameters. The help command allows you to display a list of available commands.

You can use the command-help parameters supported by each command to display a detailed description of the specified command. The following help parameters are supported:
-?
-h
-help

Note:Note: When you use a help parameter, all other parameters are ignored.

(C) Copyright International Business Machines Corporation 2004