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


Example 3: Copying a distribution zone to a target zone

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

Assume that you have a distribution zone named CPYDLIB in data set SMP.DLB.CSI. You have used the distribution libraries described by this zone to do a system generation, and you now want to create a target zone describing the content of your new operating system. The new target zone is to be named CPYTGT and is to be in data set SMP.TGT.CSI. You also want to change the related zone from a target zone to a distribution zone. The following SMP/E commands create the new zone:
SET        BDY(GLOBAL)      /* Set to global zone.      */.
UCLIN                       /* Define zone index.       */.
ADD        GZONE            /*                          */
           ZINDEX(          /*                          */
                  (CPYTGT,SMP.TGT.CSI,TARGET)       /*  */
                 )          /*                          */
                            /*                          */.
ENDUCL                      /*                          */.
SET        BDY(CPYTGT)      /* Set to new zone.         */.
ZONECOPY   (CPYDLIB)        /* Copy DLIB zone CPYDLIB   */
           INTO(CPYTGT)     /* to target zone CPYTGT.   */
           RELATED(CPYDLB1)./* Change related zone.     */.
After the preceding SMP/E commands have completed, the global zone ZONEINDEX specifies that zone CPYDLIB is still in SMP.DLB.CSI and has not been changed. A new global zone ZONEINDEX subentry has been created and specifies that zone CPYTGT is in SMP.TGT.CSI, with a new related zone CPYDLB1.
Note: The two zones must be in different CSI data sets.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014