With the ZONERENAME command, you can assign a new name to an existing
target zone or distribution zone in an SMPCSI data set. You can also:
- Change a distribution zone to a target zone.
- Change the default OPTIONS entry name.
- Change the name of the related zone.
- Have SMP/E add a ZONEINDEX subentry for the renamed zone, if it
is in a different CSI from the one containing the "old" name
of the zone.
Note: ZONERENAME does not rename the SMPCSI data set containing
the zone. It only renames the SMP/E zone inside the SMPCSI data set.
You may want to use the ZONERENAME command in some of the following
situations:
- If the current name of a zone does not conform to naming conventions
of the establishment controlling the zone, and you want to assign
a new name to the zone without going through the overhead required
to do a ZONEMERGE followed by a ZONEDELETE.
- If you create a new set of target libraries during system generation
and need a target zone to describe them, you have two choices. You
can use the ZONEMERGE command to create the target zone (see Examples for further information), or you
can make a copy of the CSI containing the distribution zone. Then,
using the ZONERENAME command, you can rename the distribution zone
in the CSI copy to your new target zone name, change the zone type
to TARGET, and connect it to the original distribution zone.
- If you have made a copy of a CSI data set and want to access the
copied zones through an existing global zone. Assuming that the zones
in the original CSI are already accessed through that global zone,
you cannot also access the zones in the copy, because there can be
only one ZONEINDEX entry in the global zone for each unique zone name.
In this case, you want to rename the zone in the CSI copy, and
then connect the renamed zone in your global zone. This procedure
can be used to make a working copy of a zone under a different name
for testing purposes without the overhead required to do a ZONEMERGE.