Error reporting – HP XP P9500 Storage User Manual

Page 124

Advertising
background image

Table 62 Syntax requirements for optional parameters (continued)

Syntax requirements

Parameter

The equal sign is described between the right side and the parameter identification
name.

Specifying the right side is correct.

The parameter identification name is described immediately after the macro.

The parameters for the identification names are delimited by a comma (,).

An illegal phrase is not included in any statement.

Check that the number of phrases matches.

StartHrcPair

Check that the (If) has a matching (EndIf).

Entire check

Check that the last line in the execution statement terminates at (END).

Error reporting

The scripting error codes are slightly different than the general error codes.

Figure 20 (page 124)

shows the format of the scripting error codes.

Table 63 (page 124)

describes the scripting error

messages.

Table 64 (page 125)

lists the scripting error codes. In

Table 64 (page 125)

the message

ID is the four-digit number displayed on the error message. The internal code is the four-digit number
displayed in the fifth column of the error trace file.

Figure 20 Scripting error code format

Table 63 Error messages

Corrective action

Conditions to verify

Message

Use the scripting error code to determine which
line contains the syntax error (see

Table 64 (page

125)

), and fix the syntax error.

The syntax validity of the script is checked at the
start of execution. An error message will be
displayed if failed.

Syntax error

Use the scripting error code to determine which
line contains the parameter error (see

Table 64 (page 125)

), and fix the parameter error.

The parameter validity of the script is checked
on executing each instruction. An error message
will be displayed if failed.

Parameter error

If you want to terminate the script or display a
message of error occurrence and indication
following steps, check that _Result is not 0 in script.

The result of the execution is checked on each
target device. If failed, the last error status is
displayed and error flag is set in the reserved

Rejection

variable _Result. Also script continues to be
executed.

If you want to terminate the script or display a
message of error occurrence and indication
following steps, check that _Result is not 0 in script.

The condition of each target device is checked
to be executable status. For example, the M-VOL
status must be simplex to create a pair. If failed,

Skip if not
executable

error flag is set in the reserved variable _Result.
Also script continues to be executed.

124

Continuous Access Synchronous Z scripting

Advertising