CLI syntax includes:
An initial specification of the CLI tool to be used:
cr_cli (must be specified at the beginning of each command)
cr_clij (must be specified when the CLI is first invoked)
A CLI command
Any arguments required by the command
Optionally, additional arguments
Arguments used for authentication. Either:
The -u user and -p password arguments
The -s sessionID argument, which specifies the session ID of an authenticated user (see Passing Data to an Individual CLI Argument for an example using the -s option)
The following is an example of the general CLI syntax:
Table 4–1 Syntax of a CLI Command.
cr_cli |
-cmd hdb.h.lo |
-ID |
NM:barolo7 |
-u user -p password |
---|---|---|---|---|
Invokes the single command-line interface. |
Name of the command you want to invoke. |
An argument for the command |
Value to be specified with an argument requiring a value. |
User name and password, for authentication. Alternatively, you can specify a session ID. |