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.

Chapter 2. Data set basics<br />

2<br />

A data set is a collection <strong>of</strong> logically related data; it can be a source program, a library <strong>of</strong><br />

macros, or a file <strong>of</strong> data records used by a processing program. Data records (also called<br />

logical records) are the basic unit <strong>of</strong> information used by a processing program. By placing<br />

your data into volumes <strong>of</strong> organized data sets, you can save and process the data efficiently.<br />

You can also print the contents <strong>of</strong> a data set, or display the contents on a terminal.<br />

You can store data on secondary storage devices, such as:<br />

► A direct access storage device (DASD)<br />

The term DASD applies to disks or to a large amount <strong>of</strong> magnetic storage media on which<br />

a computer stores data. A volume is a standard unit <strong>of</strong> secondary storage. You can store<br />

all types <strong>of</strong> data sets on DASD.<br />

Each block <strong>of</strong> data on a DASD volume has a distinct location and a unique address, thus<br />

making it possible to find any record without extensive searching. You can store and<br />

retrieve records either directly or sequentially. Use DASD volumes for storing data and<br />

executable programs, including the operating system itself, and for temporary working<br />

storage. You can use one DASD volume for many separate data sets, and reallocate or<br />

reuse space on the volume.<br />

► A magnetic tape volume<br />

Only sequential data sets can be stored on magnetic tape. Mountable tape volumes can<br />

reside in an automated tape library. For information about magnetic tape volumes, see<br />

z/<strong>OS</strong> DFSMS: Using Magnetic Tapes, SC26-7412. You can also direct a sequential data<br />

set to or from spool, a UNIX file, a TSO/E terminal, a unit record device, virtual I/O (VIO),<br />

or a dummy data set.<br />

The Storage Management Subsystem (SMS) is an operating environment that automates the<br />

management <strong>of</strong> storage. Storage management uses the values provided at allocation time to<br />

determine, for example, on which volume to place your data set, and how many tracks to<br />

allocate for it. Storage management also manages tape data sets on mountable volumes that<br />

reside in an automated tape library. With SMS, users can allocate data sets more easily.<br />

The data sets allocated through SMS are called system-managed data sets or SMS-managed<br />

data sets.<br />

© Copyright <strong>IBM</strong> Corp. 2010. All rights reserved. 15

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

Saved successfully!

Ooh no, something went wrong!