Table 23 syntax descriptions, Figure 9 examples of comments, 9 examples of comments – HP StorageWorks XP Remote Web Console Software User Manual

Page 55: 23 syntax descriptions

Advertising
background image

XP Performance Control user guide

55

Conventions used in this section
This section uses the following symbols and typefaces to explain syntax:
• 

Indicates a space.

bold

Indicates characters you must type as they are.

italics

Indicates a type of operand. You do not need to type characters in italics as they are.

• [ ]

Indicates one or more operands that can be omitted.
If two or more operands are enclosed by square brackets and are delimited by vertical bars (|),

you can select one of the operands. For detailed information, see

Table 23

.

• { }

Indicates you must select one operand from the operands enclosed by the braces. Two or more

operands are enclosed by the braces and are delimited by vertical bars (|). For detailed

information, see

Table 23

.

Indicates that a previously used operand can be repeated. For detailed information, see

Table 23

.

Notes on writing script in the command file
Note the following when writing script in the command file:
• Ensure that only one subcommand is used on one line.
• Empty lines in any command file are ignored.
• Use a semicolon (;) to insert a comment in the command file. If you enter a semicolon on one line,

the remaining characters in that line are regarded as a comment.

Figure 9

Examples of comments

Viewing the online Help for subcommands
You can display the online Help to view the syntax of subcommands when working at the command

prompt. To view the online Help, you must use the Export Tool’s help subcommand. For detailed

information, see

The help subcommand” on page 75

.

Table 23

Syntax descriptions

Syntax

The syntax indicates that you can write the following script

connect

ip-address

connect 123.01.22.33

destination

[directory]

destination

destination c:\temp

compress

[yes|no]

compress

compress yes

compress no

answer

{yes|no}

answer yes

answer no

ports

[name][...]

ports

ports port-1

ports port-1 port-2

;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;; COMMAND FILE: command.txt ;;;;

;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

svpip 158.214.135.57 ; IP address of SVP

login expusr "passwd" ; Log onto SVP

Advertising