z/OS DFSMS Managing Catalogs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Allocating New System Data Sets Under SMS

z/OS DFSMS Managing Catalogs
SC23-6853-00

The SYS% facility is specifically used for allocating existing data sets. It is not meant to be used to allocate new data sets, for example, for a new system. However, the presence of SYS% aliases used with the SYS% facility allows for the allocation of new system data sets.

You can also use DEFINE PAGESPACE RECATALOG with the CATALOG parameter. With this method, you can recatalog the PAGE data set into the desired catalog by completing the following steps:

  1. Create new page volumes using the DEFINE PAGESPACE command.
  2. Move the new pagespace entries from the driver master catalog to the new master catalog using the REPRO MERGCAT command as shown in the following example:
    //SYSPRINT DD  SYSOUT=*
    //PLPA     DD  UNIT=3390,VOL=SER=S0HP22,
    //             DISP=OLD
    //SYSIN    DD *
       DEFINE  PAGESPACE  -
                ( FILE(PLPA) -
                  NAME (SYS1.newsysname.PLPA) -
                  CYLINDERS (1) -
                  UNIQUE -
                  VOLUME (S0HP22)  )
                  CYLINDERS(1)
                  UNIQUE -
                  VOLUME(S0HP22)
    //MOVEPAGE EXEC  PGM=IDCAMS
    //UCATDVR  DD DSN=CATALOG.drivercat,DISP=SHR
    //UCATNEW  DD DSN=CATALOG.newcat,DISP=SHR
    //DD1      DD VOL=SER=S0HP22,UNIT=3390,DISP=OLD
    //SYSPRINT DD SYSOUT=*
    //SYSIN    DD *
      REPRO ENTRIES(SYS1.newsysname.*) -
If the new system is SYSTEMB, and MASTCAT.B has been defined with the alias SYSB in MASTCAT.A, you can run allocation jobs on SYSTEMA to allocate data sets with the high-level qualifier SYSB. Once all the new data sets have been allocated (or at any time that you are ready), you can do a generic rename of the data sets, changing the SYSB qualifier to SYS1:
  ALTER SYSB.*  NEWNAME(SYS1.*)  CATALOG(MASTCAT.B)

To successfully alter the names of the SYSB data sets from SYSTEMA, you must have appropriate RACF® authority to the directed catalog facility class. See Storage Administration (STGADMIN) Profiles in the FACILITY Class.

This process of allocating new data sets with the high-level qualifier SYSB, and then renaming them by directing the catalog request, does not use the SYS% facility. After renaming the system data sets, MASTCAT.B does not contain any SYSB data sets. However, the SYS1 data sets in MASTCAT.B can be accessed by allocating them using the SYSB high-level qualifier, if the SYS% facility is activated.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014