Start, Work variables – HP StorageWorks XP Remote Web Console Software User Manual

Page 242

Advertising
background image

Start

The Start command allows you to declare the beginning of a script and check whether the connected
storage system is proper.
The format of the Start command is: Start $Script=“HRC”,$Svr=xxxxx (xxxxx : S/N of the connected
storage system).
If the S/N input to $Svr is different from the S/N of the connected storage system, the script will
be aborted.
The conditions and how to use the Start command are as follows.

•

The Start command must be described on the first line of the script.

•

The Start statement must appear at every script.

•

The Start statement cannot include a comment statement, an empty statement or a blank
statement.

•

If the S/N of the connected storage system is less than a 5-digit number (for example, 00102),
input the valid digits only. Start $Script=“HRC”,$Svr=102

•

If you want to execute the script without checking the S/N of connected storage system, do
not input any numbers for $Svr between double-quatation marks (""). Start
$Script=“HRC”,$Svr=""

Work Variables

There are two types of work variables: list type, and non-list type. All work variables are initialized
before a script is executed.

•

Numeric work variables may have a value between 0x0000 and 0xffff. Numeric work variables
are initialized with 0.

•

A non-list string work variable may have a string with length up to 150 bytes. A list string
work variable may have strings with length up to 16 bytes each. String work variables are
initialized with a null string whose length is 0.

•

A list work variable may have up to 1024 items. A non-list work variable is a constant. List
work variables are initialized as empty (no items).

The work variable is part of an execution statement in a script.

“Work Variables” (page 243)

provides

a description and the storage type of each work variable statement for list and non-list types.

242 TrueCopy for Mainframe Scripting

Advertising
This manual is related to the following products: