In this example, an SMS-managed key-sequenced cluster is defined.
The DEFINE CLUSTER command builds a catalog entry and allocates space
to define the key-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 for this command follow:
- STORAGECLASS specifies an installation-defined name of a storage
class, FINCE02, to be assigned to this cluster.
- MANAGEMENTCLASS specifies an installation-defined name of a management
class, MC1985, to be assigned to this cluster. Attributes of MANAGEMENTCLASS
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.