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

Create successful ePaper yourself

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

2.1 Data sets on storage devices<br />

DASD volume<br />

DATASET.SEQ<br />

DATASET.PDS<br />

DATASET.VSAM<br />

VOLSER=DASD01<br />

Figure 2-1 Data sets on volumes<br />

Tape volume<br />

DATASET.SEQ1<br />

DATASET.SEQ2<br />

DATASET.SEQ3<br />

VOLSER=SL0001<br />

MVS data sets<br />

An MVS data set is a collection <strong>of</strong> logically related data records stored on one volume or a set<br />

<strong>of</strong> volumes. A data set can be, for example, a source program, a library <strong>of</strong> macros, or a file <strong>of</strong><br />

data records used by a processing program. You can print a data set or display it on a<br />

terminal. The logical record is the basic unit <strong>of</strong> information used by a processing program.<br />

Note: As an exception, the z/<strong>OS</strong> UNIX services component supports Hierarchical File<br />

<strong>System</strong> (HFS) data sets, where the collection is <strong>of</strong> bytes and there is not the concept <strong>of</strong><br />

logically related data records.<br />

Storage devices<br />

Data can be stored on a magnetic direct access storage device (DASD), magnetic tape<br />

volume, or optical media. As mentioned previously, the term DASD applies to disks or<br />

simulated equivalents <strong>of</strong> disks. All types <strong>of</strong> data sets can be stored on DASD, but only<br />

sequential data sets can be stored on magnetic tape. The types <strong>of</strong> data sets are described in<br />

2.3, “DFSMSdfp data set types” on page 20.<br />

DASD volumes<br />

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

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

either directly or sequentially. Use DASD volumes for storing data and executable programs,<br />

Chapter 2. Data set basics 17

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

Saved successfully!

Ooh no, something went wrong!