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.

5.8 Using data classes<br />

TSO Allocate<br />

ISPF/PDF<br />

Non-<strong>System</strong>-Managed<br />

<strong>Volume</strong>s<br />

Figure 5-8 Using data classes<br />

JCL IDCAMS DYNALLOC<br />

ACS<br />

ROUTINE<br />

Allocation<br />

Data<br />

Class<br />

<strong>System</strong>-Managed<br />

<strong>Volume</strong>s<br />

Record and Space Attributes<br />

Key Length and Offset<br />

Record Format<br />

Record Length<br />

Record Organization<br />

Space (Primary, Secondary, Avg<br />

Rec, Avg Value)<br />

<strong>Volume</strong> and VSAM Attributes<br />

Compaction<br />

Control Interval Size<br />

Media Type and Recording<br />

Technology<br />

Percent Free Space<br />

Retention Period or Expiration Date<br />

Share Options (Cross Region,<br />

Cross <strong>System</strong>)<br />

<strong>Volume</strong> Count<br />

Data Sets Attributes<br />

Backup-While-Open<br />

Data Set Name Type<br />

Extended Addressability<br />

Extended Format<br />

Initial Load (Speed, Recovery)<br />

Log and Logstream ID<br />

Record Access Bias<br />

Reuse<br />

Space Constrait Relief and Reduce<br />

Space Up to %<br />

Spanned/Nospanned<br />

Using data classes<br />

A data class is a collection <strong>of</strong> allocation and space attributes that you define. It is used when<br />

data sets are created. You can simplify data set allocation for the users by defining data<br />

classes that contain standard data set allocation attributes. You can use data classes with<br />

both system-managed and non-system-managed data sets. However, a variety <strong>of</strong> data class<br />

characteristics, like extended format, are only available for system-managed data sets.<br />

Data class attributes define space and data characteristics that are normally specified on JCL<br />

DD statements, TSO/E ALLOCATE command, IDCAMS DEFINE commands, and dynamic<br />

allocation requests. For tape data sets, data class attributes can also specify the type <strong>of</strong><br />

cartridge and recording method, and if the data is to be compacted. Users then need only<br />

specify the appropriate data classes to create standardized data sets.<br />

You can assign a data class through:<br />

► The DATACLAS parameter <strong>of</strong> a JCL DD statement, ALLOCATE or DEFINE commands.<br />

► Data class ACS routine to automatically assign a data class when the data set is being<br />

created. For example, data sets with the low-level qualifiers LIST, LISTING, OUTLIST, or<br />

LINKLIST are usually utility output data sets with similar allocation requirements, and can<br />

all be assigned the same data class.<br />

You can override various data set attributes assigned in the data class, but you cannot<br />

change the data class name assigned through an ACS routine.<br />

Chapter 5. <strong>System</strong>-managed storage 251

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

Saved successfully!

Ooh no, something went wrong!