Optional script parameters – HP StorageWorks XP Remote Web Console Software User Manual

Page 241

Advertising
background image

Table 85 Reserved Status Variables (continued)

Description

Type

Variable

= local (SVP) timer; “None” = no timer;
“Undefined” = undefined.

Stores the consistency group number:
0x00-0x7F.

Numeric

_HrcStatus_CTG

Stores the async suspension status:
“Group” = consistency time of

String

_HrcStatus_SuspendBy

suspended volume matches consistency
time of group; “Volume” = consistency
time of suspended volume does not
match the group consistency time;
“Undefined” = undefined.

Stores the error level (async) pair
option: “Group” = all volumes in the

String

_HrcStatus_ErrLv

group will be suspended if this volume
is suspended; “Volume” = this volume
will be suspended individually;
“Undefined” = undefined.

Optional Script Parameters

The parameters outlined in

“Syntax Requirements for Optional Parameters” (page 241)

are optional

parameters that can be added to a script at the script creator's discretion. If any of these parameters
are included in a script, the HP disk array will perform a syntactical check of the script to ensure
that the syntax requirements for the parameter have been met. If no optional parameters are
included, HP disk array will not check any part of the script. HP disk array will run the script
commands based only on what has been specified in the text of the script.

“Syntax Requirements

for Optional Parameters” (page 241)

describes the syntax requirements that will be evaluated.

Table 86 Syntax Requirements for Optional Parameters

Syntax Requirements

Parameter

Check that each line does not exceed the maximum length
for a script statement.

Length

A phrase is enclosed by the quotation symbols.

Phrases in a script statement

Use of the parentheses is correct, and the number of
parentheses is exact.

A statement does not terminate with an equal sign.

The parameter identification name (phrase beginning with
“$”) is always defined.

The work variable and reserved variable (phrase beginning
with “_”) are always defined.

The first line begins with (Start) as an execution statement.

Script statement

The lead of one line in the execution statement always
begins with a macro name or an identification name for
non-list type work variable.

The number of phrases is correct.

Substitute statement

The equal sign is described exactly between the right side
and the left side.

The right side of the substitute statement is correct.

The number of phrases is not less than the minimum count.

SetList, AddList

Duplicate parameter identification names are not specified.

The required parameter identification name is defined.

Optional Script Parameters

241

Advertising