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

When the YKP2A command is executed, and information is requested from Replication Manager,
an error might occur in Replication Manager, which prevents the collection of information. In
this case, collect the information for the next request (at the set interval for Replication Manager).
Return codes
The following table lists the return codes for when the YKP2A command terminates.
Table 18 Return codes for the YKP2A command
DescriptionReturn code
Successful completion. The disk configuration definition file and copy group definition
file are generated.
0
Successful completion. No PPRC copy pairs were detected in the specified device
number range.
4
An I/O error occurred for a volume in the scan range. Disk configuration definition
files and copy group definition files have been generated for the volumes for which
detection was successful.
8
Processing is canceled, due to an error. The disk configuration definition files and
copy group definition files were not generated.
44
Termination was performed due to an invalid parameter.48
An error has occurred during the REXX processing.64
Examples of generating configuration files
This subsection uses the following three configuration examples to explain how configuration files are
generated:
Example configuration for monitoring PPRC synchronous and asynchronous copy pairs
Example configuration for monitoring only PPRC inner-DKC asynchronous copy pairs
Example configuration for monitoring PPRC synchronous and inner-DKC asynchronous copy pairs
The YKP2A command is used to generate the configuration files used to monitor the copy pairs. The
YKP2A command can be used for both batch jobs and TSO/E commands.
The conditions shown below are common to Figure 14, Figure 15, and Figure 16. The device address
domain IDs and copy group names required for use the YKP2A command are shown in each figure.
The following conditions are not assumed for the figures below:
Configuration file prefix: MFA.MIGRATE
Range of device numbers for scanned primary volume: from 7300 to 730F
NOTE:
The two-digit number added to the end of generated copy group definition files is a sequential number
added automatically depending on the copy type.
Using XP7 mainframe agent64