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


Example 2: Conditionally editing DDDEF entries

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

In this example, only DDDEF entries for data sets on the SYSRES volume are to be changed. UNIT values of 3330 are to be changed to 3350, and DATASET names that start with SYS1 are to start with SYS2. The following ZONEEDIT command makes this change:
SET        BDY (TZONE1)      /* Set to zone to edit.    */.
ZONEEDIT   DDDEF            /* Edit DDDEF entries       */.
IF         (VOLUME=SYSRES)  /* for SYSRES volume only.  */
CHANGE     UNIT(3330,3350)  /* Change unit from 3330,   */
           DATASET(SYS1.*,
                   SYS2.*)  /* data set name from SYS1. */.
ENDZONEEDIT                 /* End of ZONEEDIT.         */.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014