Data set (IBM mainframe)

In the context of IBM mainframe computers in the S/360 line, a data set (IBM preferred) or dataset is a computer file having a record organization. Use of this term began with, e.g., DOS/360, OS/360, and is still used by their successors, including the current z/OS. Documentation for these systems historically preferred this term rather than file.

A data set is typically stored on a direct access storage device (DASD) or magnetic tape,[1] however unit record devices, such as punch card readers, card punches, line printers and page printers can provide input/output (I/O) for a data set (file).[2]

Data sets are not unstructured streams of bytes, but rather are organized in various logical record[3] and block structures determined by the DSORG (data set organization), RECFM (record format), and other parameters. These parameters are specified at the time of the data set allocation (creation), for example with Job Control Language DD statements. Within a running program they are stored in the Data Control Block (DCB) or Access Control Block (ACB), which are data structures used to access data sets using access methods.

Records in a data set may be fixed, variable, or “undefined” length.[4]

  1. ^ "What is a catalog?". IBM. Cataloging of data sets on magnetic tape ...
  2. ^ "IBM Knowledge Center - Home of IBM product documentation". publib.boulder.ibm.com.
  3. ^ "What is a data set?". IBM. data set .. a file that contains one or more records.
  4. ^ "Data set record formats". IBM. Records are either fixed length or variable length in a given data set.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search