Hitachi TrueCopy for IBM z/OS User and Reference Guide (T5211-96001, June 2007)
TrueCopy for z/OS Scripting B-31
Hitachi Universal Storage Platform V TrueCopy for IBM z/OS User’s Guide
Optional Script Parameters
The parameters outlined in Table B.16 are optional parameters that can be
added to a script at the script creator’s discretion. If any of these parameters
are included in a script, the USP V will perform a syntactical check of the script
to ensure that the syntax requirements for the parameter have been met. If
no optional parameters are included, USP V will not check any part of the
script. USP V will run the script commands based only on what has been
specified in the text of the script. Table B.16 describes the syntax
requirements that will be evaluated.
Table B-16 Syntax Requirements for Optional Parameters (continues on
the following pages)
Parameter Syntax Requirements
Length Check that each line does not exceed the maximum length for a script statement.
Phrases in a script
statement
A phrase is enclosed by the quotation symbols.
Use of the parentheses is correct, and the number of parentheses is exact.
A statement does not terminate with an equal sign.
The parameter identification name (phrase beginning with “$”) is always defined.
The work variable and reserved variable (phrase beginning with “_”) are always defined.
Script statement The first line begins with (Start) as an execution statement.
The lead of one line in the execution statement always begins with a macro name or an identification
name for non-list type work variable.
Substitute statement The number of phrases is correct.
The equal sign is described exactly between the right side and the left side.
The right side of the substitute statement is correct.
SetList, AddList The number of phrases is not less than the minimum count.
Duplicate parameter identification names are not specified.
The required parameter identification name is defined.
The equal sign is described between the right side and $D.
Specifying the right side is correct.
The equal sign is described between the right side and $S.
Specifying the right side is correct.
The parameter identification name is described immediately after the macro.
The parameter identification names are delimited by a comma (,).
An illegal phrase is not included in any statement.