Reserved Result Variables; Reserved Status Variables - HP StorageWorks P9000 User Manual

Continuous access synchronous for mainframe systems user guide
Hide thumbs Also See for StorageWorks P9000:
Table of Contents

Advertisement

Reserved result variables

When a functional macro is executed (for example, CreateHrcPair), a result value (_Result) is issued.
Figure 19 (page 123)
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 59 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 60 Reserved status variables
Variable
_HrcStatus _CopyType
_HrcStatus _DeviceAttr
_HrcStatus _DeviceM
_HrcStatus _DeviceR
_HrcStatus _Sn
_HrcStatus _Ssid
_HrcStatus _PairStatus
_HrcStatus _Fence
illustrates the result statement format, and
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 60 (page 123)
Type
String
String
Numeric
Numeric
String
Numeric
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.
Table 59 (page 123)
lists and defines
Reserved variables 123

Advertisement

Table of Contents
loading

Table of Contents