Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In IBM mainframe
operating systems, basic sequential access method (BSAM) is an access
method to read and write data sets sequentially. BSAM is available on
OS/360, OS/VS2, MVS, z/OS, and related high-end operating systems. BSAM
is used both for devices that are naturally sequential, such as punched
card readers and printers, and for data on devices that could also be
addressed directly, such as magnetic disks. BSAM offers device
independence: to the extent possible, the same API calls are used for
different devices.