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


Example 1: Renaming an existing zone

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

The simplest use of ZONERENAME is to just assign a new name to an existing zone. For example, assume that responsibility for maintaining the production system has been transferred from department E17 to department C87. The conventions for naming a zone in this establishment is department number plus four characters that help describe the zone's content. You want to change the zone name from E17SYSP to C87SYSP. Assume no changes are required for DDDEF entries in the zone to be renamed, because the target libraries being maintained are not changing.

Before the ZONERENAME operation, the GLOBALZONE ZONEINDEX indicates that zone E17SYSP is in data set SMPE.CSI. There is no ZONEINDEX yet for C87SYSP; it is created by the ZONERENAME command. You now perform the ZONERENAME using the following set of SMP/E commands:
SET      BDY(GLOBAL)        /* Set to global.           */.
ZONERENAME(E17SYSP)         /* Rename zone E17SYSP      */
         TO(C87SYSP)        /* to new name C87SYSP      */
         SAMEDATASET        /* within the same CSI.     */
                            /* TOTYPE not required      */
                            /* because the zone type    */
                            /* remains the same.        */.

After the ZONERENAME operation, the GLOBALZONE ZONEINDEX indicates that zone C87SYSP is on data set SMPE.CSI, and the ZONEINDEX entry for E17SYSP has been removed. The zone definition for E17SYSP in data set SMPE.CSI has been changed so it is now the zone definition for C87SYSP.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014