Top
ETERNUS SF AdvancedCopy Manager 14.1 Operator's Guidefor Copy Control Module

E.2.2 XML format of execution type command

The XML format of execution type command is follows:

The display example for each XML format shows the followings.

Display example of execution result message only
Without -xml option
> acgroup create -g group01 -type OPC -a E4000
Successful completion.
With -xml option
> acgroup create -g group01 -type OPC -a E4000 -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ReturnCode>0</ReturnCode>
  <Message>Successful completion.</Message>
</Response>
Display example of execution result including the detail information
Without -xml option
>acec start -g ECGroup

E4000/0x1:E4000/0x6
# DATE : 2008/06/24 16:28:00 - << EC Started >>
# From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0
# To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=6/Adr_high=0/Adr_low=0

E4000/0x2:E4000/0x7
ccm5004 Operation failed. function=STXCopyEC.START, message=invalid BoxID.

  Succeeded : 1
  Failed    : 1
With -xml option
>acec start -g ECGroup -xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <ReturnCode>6</ReturnCode>
  <Message></Message>
  <ResultList>
    <Result>
      <Object>E4000/0x1:E4000/0x6</Object>
      <Status>Succeeded</Status>
      <Message></Message>
      <Detail>DATE : 2008/06/24 16:28:00 - &lt;&lt; EC Started &gt;&gt; &#13;
From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0/size_high=0/size_low=0&#13;
To  :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=6/Adr_high=0/Adr_low=0</Detail>
    </Result>
    <Result>
      <Object>E4000/0x2:E4000/0x7</Object>
      <Status>Failed</Status>
      <Message>ccm5004 Operation failed. function=STXCopyEC.START, message=invalid BoxID.</Message>
      <Detail></Detail>
    </Result>
  </ResultList>
</Response>

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
> 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>