Reserved status variables – HP XP P9500 Storage User Manual
Page 121
the valid result values. When a new macro is initiated, the result value automatically resets to
0x0000. The functional macro executes on the specified number of devices. If the macro does not
satisfy the execution condition, a conditional error occurs. If a conditional error is found, the result
value is OR’d with 0x1000, and the macro is logged in the error and macro trace files. If the return
value of the API (application program interface) is not 0, an API error occurs. If an API error occurs,
the result value is OR’d with 0x0100, and the macro is logged in the error and macro trace files.
Figure 19 Result statement format
Table 60 Reserved result variables
Description
Type
Variable
Stores the execution results of a macro.
Numeric
_Result
0 = normal end. Other values depend on the macro.
Stores the execution results of a Message (internal) macro.
Numeric
_MsgResult
1 = OK, 6 = Yes, 7 = No.
Stores the number of devices found by SelectHrcDevice macro.
Numeric
_SelectResult
0 = no devices found.
Reserved status variables
When a GetHrcStatus command is issued, the Remote Web Console computer obtains the
status of the specified pair(s) from the P9500. The results of this query are displayed in the reserved
status variables.
lists and describes the valid reserved status variables.
Table 61 Reserved status variables
Description
Type
Variable
Stores the copy type: “RDC” = remote copy mode ; “RMC’ =
migration mode; “---” = other than the above modes.
String
_HrcStatus _CopyType
Stores the device attribute: “M-VOL” = M-VOL; “R-VOL” = R-VOL;
“---” = other than the above modes.
String
_HrcStatus _DeviceAttr
Stores the M-VOL device number.
Numeric
_HrcStatus _DeviceM
Stores the R-VOL device number.
Numeric
_HrcStatus _DeviceR
Stores the serial number of the controller for the remote pairs.
String
_HrcStatus _Sn
Stores the SSID of the controller for the remote pairs.
Numeric
_HrcStatus _Ssid
Stores the pair status: “Simplex” = simplex; “Duplex” = duplex;
“Pending” = initial copy in progress; “Suspended0” = copy
String
_HrcStatus _PairStatus
abort in initial copy; “Suspended1” = copy abort other than
initial copy; “Undefined” = undefined.
Stores the M-VOL fence level: “Never” = no fence; “Status” =
fence due to an R-VOL status change failure; “Data” = fence
due to a data error; “Undefined” = undefined.
String
_HrcStatus _Fence
Stores the synchronous level: “Synchronous0” = sync;
“Undefined” = undefined.
String
_HrcStatus _Sync
Reserved variables
121