Optional script parameters – HP XP P9500 Storage User Manual

Page 122

Advertising
background image

Table 61 Reserved status variables (continued)

Description

Type

Variable

Stores the pair status update time: “MM/DD/YYYY hh:mm:ss”
= MM: month, DD: day, YYYY: year, hh: hour, mm: minute, ss:
second.

String

_HrcStatus _TimeOfUpdate

Stores the pair creation update time: “MM/DD/YYYY hh:mm:ss”
= MM: month, DD: day, YYYY: year, hh: hour, mm: minute, ss:
second.

String

_HrcStatus _TimeOfEstablish

Stores the copy progress ratio (0 – 100).

Numeric

_HrcStatus _CopyRatio

Stores the internal status code.

Numeric

_HrcStatus _InternalStatus

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

Numeric

_HrcStatus_CTG

Optional script parameters

The parameters outlined in

Table 62 (page 122)

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
P9500 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, P9500 will not check any part
of the script. P9500 will run the script commands based only on what has been specified in the
text of the script.

Table 62 (page 122)

describes the syntax requirements that will be evaluated.

Table 62 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 and reserved variables (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.

Duplicate parameter identification names are not specified.

SetList, AddList

The required parameter identification name is defined.

The equal sign is described between the right side and $D.

Specifying the right side is correct.

The equal sign is described between the right side and $S.

Specifying the right side is correct.

The parameter identification name is described immediately after the macro.

The parameter identification names are delimited by a comma (,).

An illegal phrase is not included in any statement.

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

Start

Duplicate parameter identification names are not specified.

The required parameter identification name is defined.

122

Continuous Access Synchronous Z scripting

Advertising