Copying the secondary volumes with PPRC

Perform the following steps to make a copy of the secondary volumes (like volumes only) with PPRC:

  1. Vary the secondary devices offline to all MVS systems.
  2. Issue the CESTPATH and CESTPAIR commands with the COPY options to establish the PPRC paths and pairs.
  3. Issue the CQUERY TSO command to monitor the initial copy process. (The CQUERY command returns information about the state of the PPRC volumes, which change from simplex to pending, to duplex.) During the initial copy operation, PPRC also copies all primary volume updates to the secondary (target) volumes.
  4. Verify that the PPRC volumes are in the duplex state by issuing CQUERY commands.
  5. When the copy operation is complete, generate a dump of the secondary (target) volumes as follows:
    1. Temporarily stop all of the applications that PPRC is copying.
    2. Issue the CSUSPEND command to the secondary volumes. PPRC now records changes to the primary volumes.
    3. Issue the CRECOVER command from the secondary host to return the secondary volumes to simplex state. Specify new volume serial numbers for the secondary volumes if the primary and secondary volumes are under the same MVS system.
    4. Vary the secondary volumes online. After the CRECOVER command completes, the secondary volumes will be in simplex state. It will be possible for applications to make updates to these volumes when they are varied online. It is essential that no other applications write to the secondary volumes after the CRECOVER command completes.
    5. Use DFSMSdss physical full volume dump to dump the secondary volumes.
    6. When the dumps are complete, vary the secondary volumes offline.
    7. Change the secondary volume serial numbers back to their original numbers if you changed them in 5.c.
    8. Issue the CESTPAIR command with the RESYNC option to reestablish the PPRC pairs and resynchronize the volumes.
      Note: It is essential that no other applications write to the secondary volumes that DFSMSdss is dumping. If updates are made to the secondary volumes while they are in simplex state (after they are recovered), you must reestablish the pairs and resynchronize the volumes. To do this, first issue the CDELPAIR command to the primary volumes, and then issue the CESTPAIR command with the COPY option.

    If you changed the volume serial number of the secondary volume when you issued the CRECOVER command, you must restore the DFSMSdss physical full volume dump of that secondary volume. First, issue the DFSMSdss RESTORE command with the FULL and COPYVOLID keywords. Next, change the volume serial number back to the original volume serial number that the secondary volume had before you issued the CRECOVER command.