59 syntax requirements for optional parameters – HP StorageWorks XP Remote Web Console Software User Manual

Page 193

Advertising
background image

TrueCopy for z/OS user guide 193

specified in the text of the script. The following table describes the syntax requirements that will be

evaluated.

Table 59

Syntax requirements for optional parameters

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.

Start

The number of phrases is not fewer 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 $Script.
Specifying the right side is correct.
The equal sign is described between the right side and $Svr.
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 one statement.

End

Check that the number of phrases matches.

Delay

The number of phrases matches.
The required parameter identification name is defined.
The equal sign is described between the right side and $Time.
Specifying the right side is correct.

Advertising