Table 52 syntax description, Table 53 script components, Script file requirements – HP StorageWorks XP Remote Web Console Software User Manual
Page 194: Table 54 script file requirements, 52 syntax description, 53 script components, 54 script file requirements, Table 52, Table 53
194 Hitachi TrueCopy z/OS for HP XP12000/XP10000 and SVS 200 storage systems
•
). 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 52
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]
See ”
page 203 for macro information.
Table 53
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 54
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