  in the context of ibm mainframe computers, a data set (archaic) or dataset (preferred) is a computer file having a record organization. use of this term began with os/360 and is still used by its successors, including the current z/os. documentation for these systems historically preferred this term rather than file. a dataset is typically stored on a direct access storage device (dasd) or magnetic tape, however unit record devices, such as punch card readers, card punch, and line printers can provide input/output (i/o) for a dataset (file).http://publib.boulder.ibm.com/infocenter/zvm/v5r4/index.jsp?topic=/com.ibm.zvm.v54.hcpa7/hcse7b3050.htm read more: http://www.answers.com/topic/unit-record-device#ixzz3e3byprjl are also supported. datasets are not unstructured streams of bytes, but rather are organized in various logical record and block structures determined by the dsorg (dataset organization), recfm (record format), and other parameters. these parameters are specified at the time of the dataset allocation (creation), for example with job control language dd statements. inside a job they are stored in the data control block (dcb), which is a data structure used to access datasets, for example using access methods. ==dataset organization==  for os/360, the dcb's dsorg parameter specifies how the dataset is organized. it may be physically sequential ("ps"), indexed sequential ("is"), partitioned ("po"), or direct access ("da"). datasets on tape may only be dsorg=ps. the choice of organization depends on how the data is to be accessed, and in particular, how it is to be updated. programmers utilize various access methods (such as qsam or vsam) in programs for reading and writing data sets. access method depends on the given data set organization. ==record format (recfm)== regardless of organization, the physical structure of each record is essentially the same, and is uniform throughout the dataset. this is specified in the dcb recfm parameter. recfm=f means that the records are of fixed length, specified via the lrecl parameter, and recfm=v specifies a variable-length record. v records when stored on media are prefixed by a record descriptor word (rdw) containing the integer length of the record in bytes. with recfm=fb and recfm=vb, multiple logical records are grouped together into a single physical block on tape or disk. fb and vb are fixed-blocked, and variable-blocked, respectively. the blksize parameter specifies the maximum length of the block. recfm=fbs could be also specified, meaning fixed-blocked standard, meaning all the blocks except the last one were required to be in full blksize length. recfm=vb
Computer_file_systems Computer_files Data_management IBM_mainframe_operating_systems