SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Processing

SMP/E for z/OS Commands
SA23-2275-01

The ZONECOPY command copies a specified distribution or target zone from one CSI data set to another. SMP/E adds the new zone to the end of the receiving CSI data set. The input distribution or target zone remains in the input CSI data set.

Before copying the zone, SMP/E checks that the parameters entered are correct and that the copy request is valid. If any of the checks fail, SMP/E issues an error message, and the ZONECOPY command fails. SMP/E checks that:
  • The input and receiving zones are defined in the same global zone.
  • The input and receiving zones have different names.
  • The input and receiving zones are in different CSI data sets.
  • The combination of input and receiving zone types is valid.
  • No cross-zone subentry from the input zone refers to a zone with the same name as the receiving zone.

If all the validity checking is successful, the zone can be copied. SMP/E opens the input zone for read access and opens the receiving zone for update processing. SMP/E then reads the data from the input zone and writes the data into the receiving zone.

If the input zone contained cross-zone subentries, SMP/E issues warning messages.

If the input and receiving zone types are different, SMP/E changes the zone type in the zone definition record before writing it to the receiving zone. When it reaches the end of the input zone file, SMP/E closes the input and receiving zones.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014