HP XP7 Command View Advanced Edition Mainframe Agent Installation and Configuration Guide (TK981-96005, May 2014)

YKP2A command
The YKP2A command is a TSO/E command for generating configuration files for PPRC copy pairs.
The following are explanations of the format and function of the YKP2A command. For details about
elements and symbols used for command syntax descriptions, see Appendix A on page 115.
Format
YKP2A
1
PREFIX(prefix)
1
DEVN(device-number-1,device-number-2)
1
DAD(DADID1{,DADID2,[DADID3]}|{,,DADID3})
[
1
CGNAME1(synchronous-copy-group-name)]
[
1
CGNAME2(asynchronous-copy-group-name)]
[
1
CGNAME3(inner-DKC-asynchronous-copy-group-name)]
Function
A scan is performed within the specified primary volumes of inner-DKC asynchronous, synchronous,
and asynchronous copy pairs. Copy pairs that contain a secondary volume combined with one of
the primary volumes detected during the scan are defined as XP7 mainframe agent copy groups, and
configuration files (disk configuration definition file and copy group definition file) are generated.
Copy group definition files are created for each copy type, along with disk configuration definition
files.
Copy group definition files are created for each of the following:
Inner-DKC asynchronous copy pairs and asynchronous copy pairs: One per detected PPRC copy
pair group
Asynchronous copy pairs: One per consistency group
Following are the names of the generated disk configuration definition files and copy group definition
files.
Name for disk configuration definition files: prefix.DSK.SNnnnnn.DADID
Legend:
nnnnn: serial number of storage system
Name for copy group definition files: prefix.GRP.copy-group-namexx
Legend:
xx: 2-digit serial number starting from 00
Parameter
PREFIX(prefix) ~ <PREFIX string consisting of 1 to 16 characters>
This specifies the prefix to be used in the names for disk configuration definition files and copy
group definition files.
DEVN(device-number-1, device-number-2) ~ <4 hexadecimal characters>
Installation and Configuration Guide 61