The ZONECOPY command

The ZONECOPY command can be used to copy an entire target or distribution zone from an existing CSI data set to another CSI data set. With ZONECOPY, you can copy a zone from a CSI containing multiple zones, or from a CSI containing just one zone. SMP/E copies the data from the input zone to the other CSI and renames the receiving zone.

ZONECOPY processing is similar to access method services (AMS) REPRO processing of the same data. To copy a single zone, or to copy a CSI containing just one zone, though, you should not use AMS REPRO—use ZONECOPY instead. In addition to copying the zone, ZONECOPY renames the copied zone for you. However, to copy a complete CSI containing multiple zones, you need to use AMS REPRO. SMP/E does not provide any commands that copy more than one zone at a time.

You can use ZONECOPY to copy the following input zones into the following receiving zones:
  • A distribution zone into a distribution zone
  • A distribution zone into a target zone
  • A target zone into a target zone
Note: You cannot copy a target zone into a distribution zone. A global zone cannot be an input or receiving zone.