HP XP P9000 Continuous Access Synchronous for Mainframe Systems User Guide
The following table describes script components.
DescriptionComponent
Either an internal macro or a functional macro.Macro name
Parameter identification name (defined in each macro format) = non-list type expression.Parameter list
List, constant, and work variable.Expression
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
The following table lists the requirements for the components of a script file.
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. The
following table lists and describes the symbols that can be used in a script.
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
128 Continuous Access Synchronous Z scripting