09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DEFINE USERCATALOGHint: If a small maximum RECORDSIZE is specified, extensions records <strong>for</strong> largeGeneration Data Groups (GDGs) must be created. The update to a single GDG thatis in multiple records will require multiple unrelated I/Os.//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) -RECORDSIZE(4086 4086)) -DATA -(BUFND(4) -CONTROLINTERVALSIZE(4096)) -INDEX -(BUFNI(4) -CONTROLINTERVALSIZE(2048)) -CATALOG(ICFMAST1)/*Job control language statement:vVOL1 DD describes the volume on which the catalog is to be defined.The DEFINE USERCATALOG command defines a user catalog, USERCAT4. Itsparameters are:vvvvvvvvvvvvNAME names the user catalog, USERCAT4.CYLINDERS specifies that 3 cylinders are to be allocated <strong>for</strong> the catalog. Whenthe 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 <strong>for</strong>mat.STRNO specifies that up to 3 concurrent requests to this catalog are to beprocessed.FREESPACE specifies the amount of free space to be left in the data component’scontrol intervals (10%) and the control areas (20% of the control intervals in thecontrol area) when data records are loaded into the user catalog.SHAREOPTIONS specifies the extent of cross-region sharing 3 (fully shared byany number of users) and cross-system sharing 4 (fully shared) to be allowed <strong>for</strong>the user catalog.RECORDSIZE specifies that the user catalog’s records are variable length, withan average size of 4086 bytes and a maximum size of 4086 bytes.DATA and INDEX specify that parameters, BUFND andCONTROLINTERVALSIZE, and BUFNI and CONTROLINTERVALSIZE, are tobe specified <strong>for</strong> the data and index components, respectively.BUFND specifies that 4 data buffers, of the data component’s control intervalsize, are to be used when processing this user catalog.CONTROLINTERVALSIZE specifies the data and index component’s controlinterval size, 4096 <strong>for</strong> the data component, and 2048 <strong>for</strong> the index component.BUFNI specifies that 4 index buffers, of the index component’s control intervalsize, are to be used when processing this user catalog.214 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!