Hitachi TrueCopy for IBM z/OS User and Reference Guide (T5211-96001, June 2007)
TrueCopy for z/OS Scripting B-21
Hitachi Universal Storage Platform V TrueCopy for IBM z/OS User’s Guide
Selecting Devices
The SelectHrcDevice command allows you to search for TCz pairs whose status
matches the specified parameters. The SelectHrcDevice argument is:
• Output list (list-type and numeric work variable)
The SelectHrcDevice parameters include:
• Device list (numeric): list of devices to be searched: L x 0x10000 + C x
0x100 + VV, where L=LDKC#, C=CU#, VV=vol# within CU. Default = all
possible target devices that can be specified. The maximum number of
devices is 1,024. If you want to search for more than 1,024 devices, repeat
this command for several times.
Note: When you write 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.
• Serial number list (string): RCU serial number. Default = not specific.
• SSID number list (numeric): RCU SSID. Default = not specific.
• Fence level list (string): “N” or “Never” = never; “S” or “Status” = status;
“D” or “Data” = data. Default = not specific.
• Sync level list (string): “S0” or “Synchronous0” = sync, “S2” or
“Synchronous2” = async. Default = not specific.
• Pair status list (string): “Simplex”, “Pending”, “Duplex”, “Suspended0”
(suspended during initial copy), “Suspended1” (suspended after initial copy),
“Suspended” (all suspend types), “Suspending”, “Deleting”, “Undefined”.
Default = not specific.
• Device attribute list (string): “M” or “M-Vol”, “R” or “R-Vol”. Default = not
specific.
• Error level list (string): “G” or “Group”; “V” or “Volume”. Default = not
specific.
• CT group list (numeric): consistency group number (0x00 - 0x7F). Default =
not specific.
• SEQCHK flag list (string): “Yes” = SEQCHK on; “No” = SEQCHK off. Default
= not specific.
Figure B-8 provides an example of the SelectHrcDevice command to find the
pairs with the parameters listed in Table B.8.