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


Example: Defining a catalog

z/OS DFSMS Managing Catalogs
SC23-6853-00

The following example defines a catalog with the attributes recommended in this document. The catalog defined, SYS1.ICFCAT.TEST, is placed on volume SYS305, and is allocated with 15 megabytes primary and secondary space.
 //DEFCAT   JOB  ...
 //DEFCAT  EXEC PGM=IDCAMS
 //SYSPRINT DD SYSOUT=A
 //SYSIN    DD *
   DEFINE USERCATALOG             -
         ( NAME(SYS1.ICFCAT.TEST) -
           MEGABYTES(15 15)       -
           VOLUME(SYS305)         -
           ICFCATALOG             -
           FREESPACE(10 10)       -
           STRNO(3)               -
        DATA( CONTROLINTERVALSIZE(4096) -
              BUFND(4)  )         -
        INDEX( BUFNI(4)  )
 /*

Catalog definition can be simplified by creating a data class for catalogs. Then, you can define new catalogs using the data class, and the appropriate attributes are assigned according to the data class definition.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014