Top
ETERNUS SF Express V14.2 User's Guide

D.2.2 XML output format

XML output format of display type command

The XML output format of display type command is as follows:

The display example of each XML format is as follows.

Display of lists only
Display of tables only
Displays of lists and tables

Information

If the error occurs when the command is executed (e.g. parameter error), the command outputs the error information like as follows.

Without -xml option
> acarray detail -a DX80
ccm8003 Could not open the file. file=C:\Program Files\AdvancedCopy Manager Copy Control Module\etc\db\eternus.xml.lck
With -xml option
> acarray detail -a DX80 -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ReturnCode>8</ReturnCode>
  <Message>ccm8003 Could not open the file. file=C:\Program Files\AdvancedCopy Manager Copy Control Module\etc\db\eternus.xml.lck</Message>
</Response>

XML output format of execution type command

The XML format of execution type command is follows:

The display example for each XML format is as follows.

Display example of execution result message only
Display example of execution result including detail information

Information

If any error occurs when the command is executed (e.g. parameter error), the command outputs the error information as follows.

Without -xml option
> acec start -g
ccm1001 Input parameter is illegal.

Usage:
        acec start -g COPY-GROUP(EC) [-p PAIR] [-r] [-xml]
        acec start -g COPY-GROUP(REC) [-p PAIR] [-r]
                [-transfer {sync [-split {auto|manual}]|through|consist|stack}]
                [-recovery {auto|manual}]
                [-skip]
                [-xml]
With -xml option
> acec start -g -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ReturnCode>1</ReturnCode>
  <Message>ccm1001 Input parameter is illegal.</Message>
</Response>

If a warning message is output when the command is executed, the command outputs the error information as follows.

Without -xml option
> acec reverse -g group01

DX80/0x1:DX80/0x6
# DATE : 2008/06/24 16:28:00 - << EC Change >>
Warning:ccm7001 The target logical volume is write protected. target logical volume=DX80/0x1

DX80/0x2:DX80/0x7
# DATE : 2008/06/24 16:28:00 - << EC Change >>

  Succeeded : 2
  Failed    : 0
With -xml option
> acec reverse -g group01 -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <ReturnCode>0</ReturnCode>
    <Message>Successful completion.</Message>
    <ResultList>
        <Result>
            <Object>DX80/0x1:DX80/0x6</Object>
            <Status>Succeeded</Status>
            <Message>Warning:ccm7001 The target logical volume is write protected. target logical volume=DX80/0x1</Message>
            <Detail>DATE : 2008/06/24 16:28:00 - &lt;&lt; EC Change &gt;&gt;</Detail>
        </Result>
        <Result>
            <Object>DX80/0x2:DX80/0x7</Object>
            <Status>Succeeded</Status>
            <Message></Message>
            <Detail>DATE : 2008/06/24 16:28:00 - &lt;&lt; EC Change &gt;&gt;</Detail>
        </Result>
    </ResultList>
</Response>