z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Define a User Catalog: Example 5

z/OS DFSMS Access Method Services Commands
SC23-6846-01

In this example, a user catalog is defined.

//DEFCAT1  JOB    ...
//STEP1    EXEC   PGM=IDCAMS
//VOL1     DD     VOL=SER=VSER01,UNIT=DISK,DISP=OLD
//SYSPRINT DD     SYSOUT=A
//SYSIN    DD     *
     DEFINE USERCATALOG -
           (NAME(USERCAT4) -
                    CYLINDERS(3 2) -
           VOLUME(VSER01) -
           ICFCATALOG -
           STRNO(3) -
           FREESPACE(10 20) -
           SHAREOPTIONS(3 4) -
         DATA -
           (BUFND(4) -
           CONTROLINTERVALSIZE(4096)) -
         INDEX -
           (BUFNI(4) -
           CONTROLINTERVALSIZE(2048)) -
/*
Job control language statement:
  • VOL1 DD describes the volume on which the catalog is to be defined.

    The DEFINE USERCATALOG command defines a user catalog, USERCAT4. Its parameters are:

  • NAME names the user catalog, USERCAT4.
  • CYLINDERS specifies that 3 cylinders are to be allocated for the catalog. When the catalog is extended, it is in increments of 2 cylinders.
  • VOLUME specifies that the user catalog is to reside on volume VSER01.
  • ICFCATALOG specifies that the user catalog is to be in the catalog format.
  • STRNO specifies that up to 3 concurrent requests to this catalog are to be processed.
  • FREESPACE specifies the amount of free space to be left in the data component's control intervals (10%) and the control areas (20% of the control intervals in the control area) when data records are loaded into the user catalog.
  • SHAREOPTIONS specifies the extent of cross-region sharing 3 (fully shared by any number of users) and cross-system sharing 4 (fully shared) to be allowed for the user catalog.
  • DATA and INDEX specify that parameters, BUFND and CONTROLINTERVALSIZE, and BUFNI and CONTROLINTERVALSIZE, are to be specified for the data and index components, respectively.
  • BUFND specifies that 4 data buffers, of the data component's control interval size, are to be used when processing this user catalog.
  • CONTROLINTERVALSIZE specifies the data and index component's control interval size, 4096 for the data component, and 2048 for the index component.
  • BUFNI specifies that 4 index buffers, of the index component's control interval size, are to be used when processing this user catalog.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014