Table 46 syntax description, Table 47 script components, Script file requirements – HP StorageWorks XP Remote Web Console Software User Manual

Page 178: Table 48 script file requirements, 46 syntax description, 47 script components, 48 script file requirements, Table 46, Table 47

Advertising
background image

178 TrueCopy for the XP128/XP1024/XP10000/XP12000

An empty statement (see

Table 46

). The empty statement is a non-execution statement.

Script File Requirements

The following table lists the requirements for the components of a script file.

Table 46

Syntax description

Statement Name

Description

Blank statement

Space or Tab with a return

Comment statement

One line beginning with //

Empty statement

Return only

Execution statement

Work variable statement (non-list type work variable = constant)

Macro statement

Macro name [parameter list]
Refer to

Operation Macro Commands

” on page 180 and ”

Internal Macro Commands

on page 188 for macro information.

Table 47

Script components

Component Name

Description

Macro name

Either an internal macro or a functional macro.

Parameter list

Parameter identification name (defined in each macro format) = non-list type expression.

Expression

List, constant, and work variable.

List

In a list description, a constant is enclosed in braces “{}”. A comma “,” is inserted between

constants. Example: {1, 2, 3, 4}, or {“ABC”, “qtw”}. Lists and work variables cannot be

described in a list.

Constant

String or a numeric value.

String

The string covers the following lists. Enclose a list with a double-quotation mark (“”). Letters

(uppercase and lowercase), numbers, symbols.

Numeric list: List that consists of (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)

Hexadecimal number list: List that begins with 0x/0X of (A, B, C, D, E, F, a, b, c, d, e,

f)

Reserved variables

Reserved variables can be referenced in a script only. Setting a value is not possible.

Table 48

Script file requirements

Item

Requirement

Maximum length of one line of a script

320 bytes

Maximum number of items of one list type identification name

1,024

Maximum length of one item of a list type work variable string

16 bytes

Maximum length of one item of a non-list type string

150 bytes

Maximum number of items of macro trace storage

33,000

Maximum number of items of error trace

33,000

Maximum length of a script file

8 megabytes

Advertising