Direct-access storage device
This article needs additional citations for verification. (December 2009)
A direct-access storage device (DASD) (pronounced //) is a secondary storage device in which "each physical record has a discrete location and a unique address". IBM coined the term DASD as a shorthand describing hard disk drives, magnetic drums, and data cells. Later, optical disc drives and flash memory units are also classified as DASD. The term DASD contrasts with sequential storage media such as magnetic tape, and unit record equipment such as card devices like card readers and punches.
Access methods for DASD include sequential, indexed, and direct. Direct access contrasts with the sequential access method used in tape drives. A record on a DASD can be accessed without having to read through intervening records from the current location, whereas reading anything other than the "next" record on tape requires skipping over intervening records, and requires a proportionally long time to access a distant point in a medium.
The DASD storage class includes both fixed and removable media.
The operating system uses a four byte relative track and record (TTR) for some access methods and for others an eight-byte extent-bin-cylinder-track-record block address, or MBBCCHHR, Channel programs address DASD using a six byte seek address (BBCCHH) and a five byte record identifier (CCHHR).
- M represents the extent number within the allocation
- BB representing the Bin (from 2321 data cells),
- CC representing the Cylinder,
- HH representing the Head (or track), and
- R representing the Record (block) number.
When the 2321 data cell was discontinued in January 1975, the addressing scheme and the device itself was referred to as CHR or CTR for cylinder-track-record, as the bin number was always 0.
IBM refers to the data records programmers work with as logical records, and the format on DASD[a] as blocks or physical records. One block might contain several logical (or user) records or, in some schemes, called spanned records, partial logical records.
Physical records can have any size up to the limit of a track, but some devices have a track overflow feature that allows breaking a large block into track-size segments within the same cylinder.
The queued access methods, such as QSAM, are responsible for blocking and deblocking logical records as they are written to or read from external media. The basic access methods, such as BSAM, require the user program to do it.
CKD is an acronym for Count Key Data, the physical layout of a block on a DASD device, and should not be confused with BBCCH and CCHHR, which are the addresses used by the channel program. CTR in this context may refer to either type of address, depending on the channel command.
In the 1970s, IBM introduced fixed block architecture (FBA) for mainframes. At the programming level, these devices do not use the traditional CHR addressing, but reference fixed-length blocks by number, much like sectors in mini-computers. More correctly, the application programmer remains unaware of the underlying storage arrangement, which stores the data in fixed physical block lengths of 512, 1024, 2048, or 4096, depending on the device type. As part of the FBA interface IBM introduced new channel commands for asynchronous operation that are very similar to those introduced for ECKD.
For some applications, FBA not only offers simplicity, but an increase in throughput.
FCP attached SCSIEdit
This section may be weighted too heavily toward only one aspect of its subject.(May 2021)
Some programming interface macros and routines are collectively referred to as access methods with names ending in Access Method.
DOS/360 and successorsEdit
DOS/360 through z/VSE support datasets on DASD with the following access methods:
- Logical IOCS (LIOCS)
- Physical IOCS (PIOCS)
- Execute channel program (EXCP)
OS/360 and successorsEdit
OS/360 through z/OS support datasets on DASD with the following access methods:
- Basic sequential access method (BSAM)
- Basic indexed sequential access method (BISAM)
- Queued sequential access method (QSAM)
- Queued indexed sequential access method (QISAM)
- Basic partitioned access method (BPAM)
- Basic direct access method (BDAM)
- Virtual storage access method (VSAM)
- Execute Channel Program (EXCP)
- Execute Channel Program in Real Storage (EXCPVR)
IBM in its 1964 first version of the "IBM System/360 System Summary" used the term File to collectively described devices now called DASD. Files provided "random access storage'" At the same time IBM's product reference manual described such devices as "direct access storage devices" without any acronym.
An early public use of the acronym DASD is in IBM's March 1966 manual, "Data File Handbook." The earliest non-IBM use of the acronym DASD found by the "Google ngram viewer" to refer to storage devices dates from 1968. From then on use of the term grew exponentially until 1990 after which its usage declined substantially.
Both drums and data cells have disappeared as products, so DASD remains as a synonym of disk, flash and optical devices. Modern DASD used in mainframes only very rarely consist of single disk-drives. Most commonly "DASD" means large disk arrays utilizing RAID schemes. Current devices emulate CKD on FBA hardware.
- Hard disk drive
- DFSMS – a standard software managing DASD usage
- ESCON – a protocol for mainframe peripheral communication, used by most DASD devices
- FICON – new protocol to replace ESCON
- IBM Enterprise Storage Server – an example of large DASD
- Global Mirror – DASD remote synchronization product
- Metro Mirror – DASD remote synchronization product
- History of IBM magnetic disk drives
- History of IBM CKD Controllers
- The concept of physical record also applies to other device types, e.g., tape.
- However, the privileged routine IOSFBA provides limited access to these devices.
- IBM Corporation (1975). Introduction to IBM Direct-Access Storage Devices and Organization Methods (PDF). p. 1-1.
- IBM Corporation (2015). "Serial Direct Access Storage Device Subsystem". IBM AIX V6.1 Documentation. Retrieved December 28, 2015.
- DellEMC. "POWERMAX 8000 JOINS THE MAINFRAME SOLUTIONS PORTFOLIO". Dell EMC Products for Mainframe Environments. Retrieved August 7, 2018.
- IBM Corporation (1964). IBM System/360 System Summary (PDF). p. 24. Retrieved Aug 7, 2018.
- IBM Corporation. "IBM Archives: IBM 2321 data cell drive". Retrieved 8 Nov 2011.
- IBM System/360 Component Descriptions - 2841 Storage Control Unit et. al (PDF). IBM. 1964.
The IBM 2841 Storage Control Unit provides for the attachment of direct access storage devices to the IBM System/360.
- Data File Handbook (PDF). IBM. 85 usages.
- Brown, Robert (March 1968). "Cost and Advantages of On-line DP". Datamation. Cahners Publishing Company. pp. 40–43.
- ""Ngram_chart: occurrences of DASD"".