11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

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.

Control interval (CI)<br />

VSAM stores records in control intervals. A control interval is a continuous area <strong>of</strong> direct<br />

access storage that VSAM uses to store data records and control information that describes<br />

the records. Whenever a record is retrieved from direct access storage, the entire control<br />

interval containing the record is read into a VSAM I/O buffer in virtual storage. The desired<br />

record is transferred from the VSAM buffer to a user-defined buffer or work area.<br />

Control area (CA)<br />

The control intervals in a VSAM data set are grouped together into fixed-length contiguous<br />

areas <strong>of</strong> direct access storage called control areas. A VSAM data set is actually composed <strong>of</strong><br />

one or more control areas. The number <strong>of</strong> control intervals in a control area is fixed by VSAM.<br />

The maximum size <strong>of</strong> a control area is one cylinder, and the minimum size is one track <strong>of</strong><br />

DASD storage. When you specify the amount <strong>of</strong> space to be allocated to a data set, you<br />

implicitly define the control area size. Refer to 4.32, “VSAM: Control interval (CI)” on<br />

page 162, for more information.<br />

Component<br />

A component in systems with VSAM is a named, cataloged collection <strong>of</strong> stored records, such<br />

as the data component or index component <strong>of</strong> a key-sequenced file or alternate index. A<br />

component is a set <strong>of</strong> CAs. It is the VSAM terminology for an MVS data set. A component has<br />

an entry in the VTOC. An example <strong>of</strong> a component can be the data set containing only data<br />

for a KSDS VSAM organization.<br />

Cluster<br />

A cluster is a named structure consisting <strong>of</strong> a group <strong>of</strong> related components. VSAM data sets<br />

can be defined with either the DEFINE CLUSTER command or the ALLOCATE command. The<br />

cluster is a set <strong>of</strong> components that have a logical binding between them. For example, a<br />

KSDS cluster is composed <strong>of</strong> the data component and the index component. The concept <strong>of</strong><br />

cluster was introduced to make the JCL to access VSAM more flexible. If you want to access<br />

a KSDS normally, just use the cluster’s name on a DD card. Otherwise, if you want special<br />

processing with just the data, use the data component name on the DD card.<br />

Sphere<br />

A sphere is a VSAM cluster and its associated data sets. The cluster is originally defined with<br />

the access method services ALLOCATE command, the DEFINE CLUSTER command, or through<br />

JCL. The most common use <strong>of</strong> the sphere is to open a single cluster. The base <strong>of</strong> the sphere<br />

is the cluster itself.<br />

Chapter 4. Storage management s<strong>of</strong>tware 161

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

Saved successfully!

Ooh no, something went wrong!