Use the NOCOPY option with caution

Because of potential data integrity exposures, use the NOCOPY option of the XADDPAIR command only in TSO command mode, not in automated procedures. Specify NOCOPY only when installation procedures can guarantee that the primary and secondary volumes are equivalent at the time that you issue the command.

The NOCOPY option specifies that the primary and secondary volumes are identical and that it is not necessary to copy the primary volume to the recovery system. Be careful when you specify the NOCOPY option when any of the following are true:
Note: The XADDPAIR TSO command with the NOCOPY option requires a few seconds to complete across the sysplex. If application hosts initiate disk write updates to the volumes before the volumes are under XRC control, those updates will not be timestamped. (Only write I/O operations to volumes that are part of an XRC session are timestamped.) This temporary inconsistency has passed when an XQUERY command returns the information that there are no volumes in seqcheck status.

The XADDPAIR command with NOCOPY is equivalent to the dual copy function with the NOCOPY option. You must use it with care. When you specify NOCOPY, both the primary and secondary volumes must contain exactly the same data at the point in time when the pair is established. To ensure that the volume contents match, perform the following steps:

  1. Stop all application activity to the primary volumes.
  2. Use DFSMSdss to dump the full primary volumes. Specify the ALLDATA and ALLEXCP options to dump both allocated used and allocated unused space on the volumes. (Some applications refer to the allocated unused space of a data set.)
  3. Restore the full secondary volumes.
  4. Ensure that no applications have made updates to the primary volumes during the volume dump and restore process.
  5. Issue the XADDPAIR command with the NOCOPY option.
  6. Once the XRC pair is established, restart the applications to the primary volumes. If this is part of an automated procedure, you can check for the ANTA8101I or ANTA8004I message to detect when the pair is under XRC control.