HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

9. To execute the getary.inp XML file on a storage system, type the following command at the
CLI prompt:
do -i getary.inp
You will see results similar to the following example:
C:\hdvm>do -i getary.inp
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<HiCommandServerMessage>
<APIInfo version="7.3.1" />
<Response>
<EchoCommand name="GetStorageArray" status="COMPLETED" result="0"
resultSource="StorageManager.GetStorageArray"
messageID="473934233" />
<ResultList />
</Response>
</HiCommandServerMessage>
10. Use this procedure to create XML .inp files for other CLI commands.
Output format of execution results
Command results are output in the Device Manager CLI standard format.
The results of the GetStorageArray command can be output in either CSV format or XML format.
For details about outputting execution results in CSV format, see Outputting execution results in CSV
format on page 409. For details about outputting execution results in XML format, see Outputting
execution results in XML format on page 411.
Outputting execution results in CSV format
To output the execution results of the GetStorageArray command in CSV format, specify csv for
the -f or --format options. Specify csv by using lowercase letters.
The execution results are output to the standard output. To output them to a CSV file, add the -o or
--output option. Alternatively, specify that the results be redirected to a file.
The -f or --format option can be specified only when the GetStorageArray command is used.
There are also some parameters that you cannot specify when you specify the -f or --format option
as one of the parameters in the GetStorageArray command. The following table lists the parameters
that you cannot specify with this option.
Table 156 Parameters that cannot be specified in the GetStorageArray command when CSV output
is specified
Section where described
#
Parameter that cannot be spe-
cified
subtarget parameter value
GetStorageArray (subtarget=Array-
Group) , page 125
arraygroupsubinfo
lusubinfo
ArrayGroup
GetStorageArray (subtarget=HostStor-
ageDomain) , page 140
hsdsubinfoHostStorageDomain
CLI Reference Guide 409