Reserved Status Variables - HP XP P9500 User Manual

P9000 continuous access synchronous for mainframe systems
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

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
Variable
_Result
_MsgResult
_SelectResult

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.
Table 61 Reserved status variables
Variable
_HrcStatus _CopyType
_HrcStatus _DeviceAttr
_HrcStatus _DeviceM
_HrcStatus _DeviceR
_HrcStatus _Sn
_HrcStatus _Ssid
_HrcStatus _PairStatus
_HrcStatus _Fence
_HrcStatus _Sync
Type
Description
Numeric
Stores the execution results of a macro.
0 = normal end. Other values depend on the macro.
Numeric
Stores the execution results of a Message (internal) macro.
1 = OK, 6 = Yes, 7 = No.
Numeric
Stores the number of devices found by SelectHrcDevice macro.
0 = no devices found.
Table 61 (page 121)
Type
String
String
Numeric
Numeric
String
Numeric
String
String
String
lists and describes the valid reserved status variables.
Description
Stores the copy type: "RDC" = remote copy mode ; "RMC' =
migration mode; "---" = other than the above modes.
Stores the device attribute: "M-VOL" = M-VOL; "R-VOL" = R-VOL;
"---" = other than the above modes.
Stores the M-VOL device number.
Stores the R-VOL device number.
Stores the serial number of the controller for the remote pairs.
Stores the SSID of the controller for the remote pairs.
Stores the pair status: "Simplex" = simplex; "Duplex" = duplex;
"Pending" = initial copy in progress; "Suspended0" = copy
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.
Stores the synchronous level: "Synchronous0" = sync;
"Undefined" = undefined.
Reserved variables
121

Advertisement

Table of Contents
loading

Table of Contents