Hitachi TrueCopy for IBM z/OS User and Reference Guide (T5211-96001, June 2007)
B-18 TrueCopy for z/OS Scripting
Hitachi Universal Storage Platform V TrueCopy for IBM z/OS User’s Guide
Figure B.5 provides an example of the pair macro commands needed to
change the pair options for the pair with LDEV ID 0x4a as follows: set fence
level option to Never, set CFW option to M-VOL only.
Start $Script="HRC",$Svr="CU-Name"
// $Dev
SetList $D =_ilDevA, $S = {0x000100,0x000101,0x000102,0x000103,0x000104}
AddList $D =_ilDevA, $S = {0x000117,0x000118,0x000119}
// $OptCfw
SetList $D = _ilWorkA, $S = {1, 1, 0}
// $Fence
SetList $D = _slWorkA, $S = {"D", "S", "N", "Data", "Status"}
ChangeHrcOption $Dev = _ilDevA, $Fence = _slWorkA, $OptCfw = _ilWorkA
// $Dev
SetList $D =_ilDevB, $S = {0x000A00,0x000A01,0x000A02,0x000A03,0x000A04}
// $OptErrLv
SetList $D = _slWorkB, $S = {"G", "V", "Volume", "Group"}
ChangeHrcOption $Dev = _ilDevB, $OptErrLv = _slWorkB
End
Figure B-5 Example of ChangeHrcOption Command