IBM Midrange System DS4000 Series Hardware Manual page 520

Midrange system storage ds4000/ds5000 series
Hide thumbs Also See for Midrange System DS4000 Series:
Table of Contents

Advertisement

Using the show command
Use the show command with a string (enclosed in a double quotes) and no options to embed
in your script comments that display in the output view during script execution. For example,
including a show "START of the script" command in your script results in the display of
START of the script in the output view when this line is processed during script execution.
Including show statements can help you when writing longer scripts where intermediate steps
can make troubleshooting easier, as shown in Figure 8-3.
Figure 8-3 Show command in Script Editor
Script Editor tools
The Script Editor offers the following tools to help you when writing scripts:
Verify Syntax
To run this option, select Tools  Verify Syntax from the drop-down menu. The Script
Editor engine parses the statements in the script file one line at a time and verifies that it
has the correct syntax. Any syntax errors are displayed in the output view, reporting the
line number of the error and a description of the error. If the Script Editor encounters a
syntax error, no further syntax verification is performed on the script. Fix the syntax error
and rerun the Verify Syntax command to validate the error correction and check the
remainder of the statements in the script.
Verify and Execute
To run this option, select the Tools  Verify and Execute option. The Script Editor
engine parses the command statements in the script, interprets and converts the
statements to the appropriate commands, and sends the commands to the storage
subsystem.
syntax error
If a
Fix the error, then use the Verify Syntax or Verify and Execute options to validate the error
correction.
If an
on the included On Error script statement. The On Error Stop statement stops the script if
an execution error is encountered. The On Error Continue statement allows the script to
continue even after an execution error is encountered. (This is the default.)
502
IBM Midrange System Storage Hardware Guide
is encountered, the execution stops and an error message is displayed.
execution error
occurs, the script might or might not continue to execute depending

Advertisement

Table of Contents
loading

Table of Contents