HP P9000 Continuous Access Synchronous for Mainframe Systems User Guide (AV400-96398, October 2011)
Table 48 Script components (continued)
DescriptionComponent
In a list description, a constant is enclosed in braces “{}”. A comma “,” is inserted between
constants. For example {1, 2, 3, 4}, or {“ABC”, “qtw” }. Lists and work variables cannot be
described in a list.
List
String or a numeric value.Constant
The string covers the following lists. (Enclose a list with a double-quotation mark (""). Letters
(uppercase and lowercase), numbers, symbols
String
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 can only be referenced in a script. Setting a value is not possible.Reserved variables
Script file requirements
Table 49 (page 104) lists the requirements for the components of a script file.
Table 49 Script file requirements
RequirementItem
320 bytesMaximum length of one line of a script
1024Maximum number of items of one list type identification name
16 bytesMaximum length of one item of a list type work variable string
150 bytesMaximum length of one item of a non-list type string
33,000Maximum number of items of macro trace storage
33,000Maximum number of items of error trace
8 megabytesMaximum length of a script file
Script symbols
Symbols can be used in a script to enhance or limit the power of each script command.
Table 50 (page 104) lists and describes the symbols that can be used in a script.
Table 50 Script symbols
UseSymbol
Used to define the character constant by enclosing with it quotation marks.Quotation mark
Used to delimit the before and after phrases.Space
Used to delimit the before and after phrases. This symbol must be placed by following
each macro description rule.
Comma
Used to describe a list.Brace
Only used to describe a condition in the If statement.Parenthesis
Used as an operator in the If statement by placing the equal sign next to it. This symbol
is not useful when used alone.
Exclamation mark
Used as an operator in the If statement when used alone. When the equal sign follows,
nothing changes.
Unequal sign
104 Continuous Access Synchronous Z scripting