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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DEFINE CLUSTERThe first DEFINE CLUSTER command defines an entry-sequenced cluster,GENERIC.A.BAKER. Its parameters are:vvvvvvNAME specifies the name of the entry-sequenced cluster, GENERIC.A.BAKER.VOLUMES specifies that the cluster is to reside on volume VSER02.RECORDS specifies that the cluster’s space allocation is 100 records. When thecluster is extended, it is extended in increments of 100 records.RECORDSIZE specifies that the cluster’s records are fixed length (the averagerecord size equals the maximum record size) and 80 bytes long.NONINDEXED specifies that the cluster is entry-sequenced.CATALOG specifies that the cluster is to be defined in the USERCAT4 catalog.The second DEFINE CLUSTER command uses the attributes and specifications ofthe previously defined cluster, GENERIC.A.BAKER, as a model <strong>for</strong> the cluster stillto be defined, GENERIC.B.BAKER. A list of the parameters follows:vvvNAME specifies the name of the entry-sequenced cluster, GENERIC.B.BAKER.MODEL identifies GENERIC.A.BAKER, cataloged in user catalog USERCAT4, asthe cluster to use as a model <strong>for</strong> GENERIC.B.BAKER. The attributes andspecifications of GENERIC.A.BAKER that are not otherwise specified with theDEFINE command’s parameters are used to define the attributes andspecifications of GENERIC.B.BAKER.CATALOG specifies that the cluster is to be defined in the USERCAT4 catalog.Define a VSAM Volume Data Set: Example 9In this example, a VVDS is explicitly defined. The cluster is named using therestricted VVDS name <strong>for</strong>mat 'SYS1.VVDS.Vvolser'.//DEFCLU8 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *DEFINE CLUSTER -(NAME(SYS1.VVDS.VVSER03) -VOLUMES(VSER03) -NONINDEXED -CYLINDERS(1 1)) -CATALOG(USERCAT4)/*This DEFINE CLUSTER command defines an entry-sequenced cluster that is usedas a VVDS. The parameters are:vvvvvNAME specifies the name of a VVDS, 'SYS1.VVDS.Vvolser',SYS1.VVDS.VVSER03.VOLUMES specifies that the cluster is to reside on volume VSER03. Only onevolume serial can be specified.NONINDEXED specifies that the cluster is entry-sequenced.CYLINDERS specifies that the cluster’s space allocation is 1 cylinder. When thecluster is extended, it is extended in increments of 1 cylinder.CATALOG specifies that the cluster is to be defined in the USERCAT4 catalog.Define a Relative Record Data Set with Expiration Date:Example 10In this example, an entry-sequenced cluster is defined specifying an expirationdate, using the TO parameter.Chapter 14. DEFINE CLUSTER 173

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

Saved successfully!

Ooh no, something went wrong!