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 an SMS-Managed Key-Sequenced Cluster: Example 1In this example, an SMS-managed key-sequenced cluster is defined. The DEFINECLUSTER command builds a catalog entry and allocates space to define thekey-sequenced cluster SMS04.KSDS01.//DEFINE JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE CLUSTER -(NAME (SMS04.KSDS01) -STORAGECLASS (FINCE02) -MANAGEMENTCLASS (MC1985) -DATACLASS (VSAMDB05))/*The parameters <strong>for</strong> this command are:vvvSTORAGECLASS specifies an installation-defined name of a storage class,FINCE02, to be assigned to this cluster.MANAGEMENTCLASS specifies an installation-defined name of a managementclass, MC1985, to be assigned to this cluster. Attributes ofMANAGEMENTCLASS control the data set’s retention, backup, migration, etc.DATACLASS specifies an installation-defined name of a data class, VSAMDB05,to be assigned to this cluster. Record size, key length and offset, space allocation,etc., are derived from the data class and need not be specified.Define an SMS-Managed Key-Sequenced Cluster SpecifyingData and Index Parameters: Example 2In this example, an SMS-managed key-sequenced cluster is defined. The SMS dataclass space allocation is overridden by space allocations at the data and indexlevels. The DEFINE CLUSTER command builds a catalog entry and allocates spaceto define the key-sequenced cluster SMS04.KSDS02.//DEFINE JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE CLUSTER -(NAME (SMS04.KSDS02) -STORAGECLASS (FINCE02) -MANAGEMENTCLASS (MC1985) -DATACLASS (VSAMDB05)) -LOG(ALL) -LOGSTREAMID(LogA) -DATA -(MEGABYTES (10 2)) -INDEX -(KILOBYTES (25 5))/*The parameters <strong>for</strong> this command are as follows:vvvDEFINE CLUSTERSTORAGECLASS is an installation defined name of a storage class, FINCE02, tobe assigned to the cluster.MANAGEMENTCLASS is an installation defined name of a management class,MC1985, to be assigned to the cluster. Attributes associated with a managementclass control the cluster’s retention, backup, migration, etc.DATACLASS is an installation defined name of a data class, VSAMDB05,assigned to the cluster. Record size, key length and offset, etc., are derived fromChapter 14. DEFINE CLUSTER 167

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

Saved successfully!

Ooh no, something went wrong!