Hitachi TrueCopy for IBM z/OS User and Reference Guide (T5211-96001, June 2007)
B-14 TrueCopy for z/OS Scripting
Hitachi Universal Storage Platform V TrueCopy for IBM z/OS User’s Guide
Figure B-3 provides an example of the pair macro commands needed to
suspend the specified pair with suspend mode = R-VOL and the default flag of
no reports.
Start $Script="HRC",$Svr="CU-Name"
// $Dev
SetList $D =_ilDevA, $S = {0x000100,0x000101,0x000102,0x000103}
AddList $D =_ilDevA, $S = {0x000104,0x000105,0x000106,0x000107,0x000108}
// $SusReport
SetList $D = _ilWorkA, $S = {0, 1, 0}
// $SusMode
SetList $D = _slWorkA, $S = {"R-Vol","M", "R", "M-Vol"}
SuspendHrcPair $Dev = _ilDevA, $SusMode = _slWorkA, $SusReport = _ilWorkA
// $Dev
SetList $D =_ilDevB, $S = {0x0900,0x0901,0x0902,0x0903}
// $PendData
SetList $D = _slWorkC, $S = {"Drain", "Purge", "P", "D}
SuspendHrcPair $Dev = _ilDevB, $PendData = _slWorkC, $SusRange = "Volume"
End
Figure B-3 Example of SuspendHrcPair Command