Hitachi TrueCopy for IBM z/OS User and Reference Guide (T5211-96001, June 2007)

TrueCopy for z/OS Scripting B-5
Hitachi Universal Storage Platform V TrueCopy for IBM z/OS User’s Guide
Table B-3 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]
Table B-4 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. For 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 only be referenced in a script. Setting a value is not possible.