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 CLUSTERvNOIMBED specifies that space is not to be allocated <strong>for</strong> sequence-set controlintervals within the data component’s physical extents.The second DEFINE command builds a cluster entry and a data entry to define anentry-sequenced cluster, KLM.EXAMPLE.ESDS1. Its parameters are:vvvvvNAME specifies the name of the entry-sequenced cluster,KLM.EXAMPLE.ESDS1. The cluster is defined in the user catalog <strong>for</strong> whichKLM has been established as an alias.RECORDS specifies that the cluster space allocation is 100 records. When thecluster is extended, it is extended in increments of 500 records.RECORDSIZE specifies that the cluster records are fixed length (the averagerecord size equals the maximum record size) and 250 bytes long.VOLUMES specifies that the cluster is to reside on volume VSER03.NONINDEXED specifies that the cluster is to be an entry-sequenced cluster.Define a Relative Record Cluster in a Catalog: Example 5In this example, a relative record cluster is defined.//DEFCLU4 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE CLUSTER -(NAME(EXAMPLE.RRDS1) -RECORDSIZE(100 100) -VOLUMES(VSER01) -TRACKS(10 5) -NUMBERED) -CATALOG(USERCAT)/*The DEFINE CLUSTER command builds a cluster entry and a data entry to definethe relative record cluster EXAMPLE.RRDS1 in the user catalog. The DEFINECLUSTER command allocates ten tracks <strong>for</strong> the cluster’s use. The command’sparameters are:vvvvvvNAME specifies that the cluster’s name is EXAMPLE.RRDS1.RECORDSIZE specifies that the records are fixed-length, 100 byte records.Average and maximum record length must be equal <strong>for</strong> a fixed-length relativerecord data set, but not equal <strong>for</strong> a variable-length RRDS.VOLUMES specifies that the cluster is to reside on volume VSER01. Thisexample assumes that the volume is already cataloged in the user catalog,USERCAT.TRACKS specifies that 10 tracks are allocated <strong>for</strong> the cluster. When the cluster isextended, it is to be extended in increments of 5 tracks.NUMBERED specifies that the cluster’s data organization is to be relative record.CATALOG specifies the catalog name.Define a Reusable Entry-Sequenced Cluster in a Catalog:Example 6In this example, a reusable entry-sequenced cluster is defined. You can use thecluster as a temporary data set. Each time the cluster is opened, its high-used RBAcan be reset to zero.//DEFCLU5 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A170 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!