HP StorageWorks Storage System Scripting Utility reference (September 2005)

Examples
SET HOST \Hosts\install OPERATING_SYSTEM=OPEN_VMS
This example assigns OpenVMS as the operating system type for the host install.
SET HOST \Hosts\
install ADD_WORLD_WIDE_NAME=1000-0000-C922-36CA
This example adds a WWN to the host install.
SET OPTIONS
The SET OPTIONS command changes the utility characteristics.
NOTE:
TheoptionsyousetwiththeSETOPTIONScommandareineffectforthecurrentsessiononly.Eachtime
you start the utility, the default options are reinstated.
Syntax
SET OPTIONS
Switches
The following switches are available with the SET OPTIONS command.
COMMAND_DELAY=
The number of seconds (0–300 seconds) to wait between issuing commands when running a script using
the FILE command. The default is 10 seconds. This switch has no effect when you are typing commands
at the command line.
NOCOMMAND_DELAY
Species that no wait time occurs between commands issued from within a FILE command.
DISPLAY_WIDTH=
Sets the amount of characters displayed on a line for LS commands. The default is 80. If the utility output
is to be parsed, it is useful to set a high line width. A long line keeps the lines from wrapping, m aking the
output easier to cut, paste, and parse. Line widths from 70 to 500 may be specied.
ON_ERROR=
CONTINUE—In this mode, only the EXIT command causes the scripting utility to halt. This is the
default and is recommended when you are manually typing commands.
EXIT_ON _ERROR— Any error causes the scripting utility to exit with an error code. This mode
is useful when requesting the entire script to h alt immediately if errors occur while executing a
script. This causes the scripting utility to exit on any kind of error: failed command, syntax error,
or ambiguous command.
HALT_ON_ ERROR— This is sim ilar to EXIT_ON_ERROR. Any error causes the scripting utility to
halt but not exit until any key is pressed. Then the scripting utilit y exits with an error code. This
allows you to see the error before the window closes on exit.
64
Utility command reference