Hitachi TrueCopy for IBM z/OS User and Reference Guide (T5211-96001, June 2007)
TrueCopy for z/OS Scripting B-7
Hitachi Universal Storage Platform V TrueCopy for IBM z/OS User’s Guide
Operation Macro Commands
The functional macros are the script equivalents of the following TCz pair
operations:
• Create pairs
• Release pairs
• Suspend pairs
• Resynchronize pairs
• Change pair options
• Start pairs
• Get pair status
• Select pair devices
Create Pairs
The CreateHrcPair command allows you to establish new TCz pairs.
Note: The CreateHrcPair command only creates the pair. You must run the
StartHrcPair command after establishing the pair to start the remote copy
process.
The CreateHrcPair parameters are:
• M-VOL device list (numeric): L x 0x10000 + C x 0x100 + VV, where
L=LDKC#, C=CU#, VV=vol# within CU.
• Serial number list (string): RCU serial number (serial number is five digits
decimal 0-9). Do not specify more than 12 RCUs.
• SSID number list (numeric): RCU SSID (four digits hexadecimal).
• R-VOL device list (numeric): L x 0x10000 + C x 0x100 + VV, where
L=LDKC#, C=CU#, VV=vol# within CU.
Note: When you write M-VOL device list or R-VOL device list, you can omit
LDKC# if the LDKC# is 0. For example, You can write 0x0102 when LDKC# is
0, CU# is 1, and vol# is 2.
• Initial copy pace list (string): “CP_MIDDLE” = 3 tracks; “CP_FAST” = 15
tracks; default = CP_FAST.
• Initial copy mode list (string): “E” = entire volume; “N” = none; default = E.
• Sync level list (string): “S0” or “Synchronous0” = sync, “S2” or
“Synchronous2” = async; default = S0. S0 and S2 cannot be specified at the
same time.